Jump to content
Angelix

EXP Function

Recommended Posts

What functions interfere with the process of giving EXP when killing a monster? I did many modifications and can't backtrack quite right. The thing is, I'm not receiving any EXP, no errors show up on console nor lua_err.txt. Any clues? Thanks!

Share this post


Link to post
Share on other sites

kop 2.4

GetExp_New -> GetExp_PKM -> ShareTeamExp

 

there are more variants between each, but that seems to be the experience flow

 

edit: using a tool like WinMerge, or similar can be a good start to check your changes against an old version

Edited by Totoka

Discord: andresc

Share this post


Link to post
Share on other sites
39 minutes ago, Totoka said:

kop 2.4

GetExp_New -> GetExp_PKM -> ShareTeamExp

 

there are more variants between each, but that seems to be the experience flow

 

edit: using a tool like WinMerge, or similar can be a good start to check your changes against an old version

Thanks! You save me hours of scripting again, haha.

 

Apparently, while trying to remove useless scripts and add a custom feature, I accidentally deleted "GetExp_PKM(dead, atk)" and I didn't notice, haha. Thanks again!

Share this post


Link to post
Share on other sites
2 hours ago, Angelix said:

Thanks! You save me hours of scripting again, haha.

 

Apparently, while trying to remove useless scripts and add a custom feature, I accidentally deleted "GetExp_PKM(dead, atk)" and I didn't notice, haha. Thanks again!

@Angelix i suggest using a version control software so all edits can be monitored and viewed, and even rollback. 


kong.png

a2.png

Share this post


Link to post
Share on other sites
56 minutes ago, KONG said:

@Angelix i suggest using a version control software so all edits can be monitored and viewed, and even rollback. 

What kind of software? Never used one before. I merely do trial and error thing by thing, I rarely modify a bunch of code without testing, today I did and something went wrong, haha.

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.


×
×
  • Create New...