Jump to content
metin2dev

Dobrescu Sebastian

VIP
  • Content count

    485
  • Joined

  • Last visited

  • Days Won

    3

Dobrescu Sebastian last won the day on March 31

Dobrescu Sebastian had the most liked content!

Community Reputation

92 Excellent

3 Followers

About Dobrescu Sebastian

  • Rank
    Noble

Profile Information

  • Gender
    Male

Recent Profile Visitors

1,667 profile views
  1. Dobrescu Sebastian

    [Extra Mod] Fly , Jump, Swim, Rain and more on Metin2

    @Roxas07 do you sell the fly function ?
  2. Dobrescu Sebastian

    open Mount System like horse crashes core

    You just put a condition like if (mountActor) { you put here all the code line. } So this way the code will be executed only if mountActor exists. if (mountActor) its the same as if (mountActor !=null) or if (mountActor != 0)
  3. Dobrescu Sebastian

    open Mount System like horse crashes core

    Yes, but do a check to not do anything if there is a nullpointer, because it can happen accidentally when you have many players on. (from my experience) I gave you a model.
  4. Dobrescu Sebastian

    open Mount System like horse crashes core

    If yours its DWORD and not a void make yourself just a chek for nullpointer. Instead a return you can make something like CMountActor* mountActor = this->GetByVnum(mobVnum); if (mountActor) { you put here all the code line. } @Chyu ^^ The point it's not to change to void it's to check if the function blocks the nullpointers. You genius. My source code is different than his, I have void. What a big deal. Got it ? First of all it matters also the rest of the functions and the quest to be written in the correct way, because first of all it doesn't have to reach to a null pointer situation, but even with all possible checks, a null pointer will appear and he must have check for them.
  5. Dobrescu Sebastian

    open Mount System like horse crashes core

    God! You have to search what i told you in MountSystem.cpp
  6. Dobrescu Sebastian

    open Mount System like horse crashes core

    void CMountSystem::Unmount(DWORD mobVnum) void CMountSystem::Mount(DWORD mobVnum, LPITEM mountItem) Under CMountActor* mountActor = this->GetByVnum(mobVnum); You should have something like if (mountActor == NULL) return;
  7. Dobrescu Sebastian

    We need Developer!

    Post your debugged game.core here.
  8. Dobrescu Sebastian

    c++ C++ | Metin2 | Mount System Renewal

    No. Check yourself.
  9. Dobrescu Sebastian

    Buy official costumes PM ME!

    You lack of brain.
  10. Dobrescu Sebastian

    open ANTI_FALL

    Check your skill proto, it is possible to be from there.
  11. Dobrescu Sebastian

    open Duplicate bonus when closing offline shop

    Query remake.
  12. Dobrescu Sebastian

    open [BUG] Core

    We have all seen that there is a null pointer since beginning. What I wanted to say is that it is not allowed to happen a core crash and most likely because of a change, because in the normal structure there is not such problem.
  13. Dobrescu Sebastian

    open Offline Shop + GIft System Fail !

    I asked you if you have the vnum with number 1.
  14. Dobrescu Sebastian

    php A complete metin2 website

    @Fleon You mister are very wrong. There is mysql, mysqli and pdo which mysqli and pdo have prepared statements which makes them more secure. But just because mysql is old and pdo is new doesn't mean pdo will always be safer rather than a mysql coded website.
  15. Dobrescu Sebastian

    open Offline Shop + GIft System Fail !

    Do you have the vnum 1 in item_proto ?
×