Jump to content
Sign in to follow this  
wouter2004

MoveCity - losing amps [✓] Solved

Recommended Posts

Dear all,

 

I am running a top CA server, for myself and friends.

We face the strange issue that when teleporting inside the same map, the NANA buff (party exp banana's) are removed.

This happens when using teleport tickets or the GM command "&move 2200,2750,garner".

 

reproduce the issue

 

When I warp from Argent to Abandoned Mines, which are both in "garner" map, the nana buffs are deactivated after teleporting.

However when I use the same teleport ticket from Argent to Shaitan, I dont lose the buffs after teleporting.

 

investigation

 

I checked the LUA functions and it all ends with the function MoveCity( role, "" ). where "" is the name of the city.

 

Unfortunately neither the GameServer source codes, nor the LUA files on the server, shows any deactivation of buffs after warping.

Still the nana buffs are removed. Can someone please help me to find out why this happens?

 

NpcScript.cpp --> lua_MoveCity

Character.cpp --> CCharacter::MoveCity

 

pictures


nana deactivated after warp:

OrIF6v2r_t.png


Nana active before warp:

xuphz7sL_t.png

 

please help. thanks in advance

Edited by wouter2004

Share this post


Link to post
Share on other sites
On 9/13/2021 at 6:02 AM, Tensei said:

I don't know if its related, but you can check here since it seems these are CO files.

 

 

Many thanks, I have recompiled the code and this solved the problem.

I am very happy that you pointed me in the right directions. 🙂

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...