Jump to content

iFreakTime~.~

Member
  • Posts

    120
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by iFreakTime~.~

  1. Acum 17 ore, xUniverse a spus:

    Open ../game/src/regen.cpp and search:

    
    				else if (p->m_table.bType == CHAR_TYPE_NPC || p->m_table.bType == CHAR_TYPE_WARP || p->m_table.bType == CHAR_TYPE_GOTO)
    				{
    					SECTREE_MANAGER::instance().InsertNPCPosition(lMapIndex,
    							p->m_table.bType,
    							p->m_table.szLocaleName,
    							(regen->sx+regen->ex) / 2 - base_x,
    							(regen->sy+regen->ey) / 2 - base_y);
    				}

    And do some like that:

    
    				else if (p->m_table.bType == CHAR_TYPE_NPC || p->m_table.bType == CHAR_TYPE_WARP || p->m_table.bType == CHAR_TYPE_GOTO)
    				{
    					if (regen->vnum != 9004)
    					{
    						SECTREE_MANAGER::instance().InsertNPCPosition(lMapIndex,
    								p->m_table.bType,
    								p->m_table.szLocaleName,
    								(regen->sx+regen->ex) / 2 - base_x,
    								(regen->sy+regen->ey) / 2 - base_y);
    					}
    				}

    Or if you want to hide more than one npc, you can do something like that:

    
    				else if (p->m_table.bType == CHAR_TYPE_NPC || p->m_table.bType == CHAR_TYPE_WARP || p->m_table.bType == CHAR_TYPE_GOTO)
    				{
    					int hideList[] = {9004,9099}; // here you must add the vnums
    					std::vector<int> H(hideList, hideList + sizeof(hideList)/sizeof(hideList[0]));
    					if (find(H.begin(),H.end(),regen->vnum) == H.end())
    					{
    						SECTREE_MANAGER::instance().InsertNPCPosition(lMapIndex,
    								p->m_table.bType,
    								p->m_table.szLocaleName,
    								(regen->sx+regen->ex) / 2 - base_x,
    								(regen->sy+regen->ey) / 2 - base_y);
    					}
    				}

     

    Thank you. Is working.

    NPC spawns and is not show on atlas.

    • Love 1
  2. Server kicks the player from 5m to 5m when battle.

    SYSERR: Oct  7 17:42:51 :: GetMoveMotionSpeed: cannot find motion (name Gorilla [Arm䴡r] race 20108 mode 0)
    And 

    YSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: stray_dog have not motlist.txt vnum(101) folder(stray_dog)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: stray_dog have not motlist.txt vnum(101) folder(stray_dog)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: stray_dog have not motlist.txt vnum(101) folder(stray_dog)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(102) folder(wolf)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(102) folder(wolf)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(102) folder(wolf)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(103) folder(wolf)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(103) folder(wolf)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(103) folder(wolf)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(104) folder(wolf)
    SYSERR: Oct  7 17:40:24 :: GetMotionFileName: Motion: wolf have not motlist.txt vnum(104) folder(wolf)
     

  3. Hi all. I have a bug on my server.

    This bug is: When I make a duel, I go to a general battle , it disconnects me randomly, example: I make a duel, I use 3-4 hits after disconnects me from the server (to login page). 

    No game.core, syserr server, syserr game, nothing about this bug.. A resolv for this is to change my Src / Client source but I have a lot of systems on my server, I don't have time to reimplement it. Please, help me. 

    Sorry for my bad English, i'm from Poland.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.