Jump to content
  • 0
Sign in to follow this  
Samuel

VendSQL Plugin Crash - With Coredump

Question

Hello, everyone, I'm trying to update Yommy's VendSQL plugin manually.

 

At first I was able to make it work (It executes but the only problem is it doesn't save map name right) then I found out that I'm not currently using the latest revision so I updated it then recompiled it.

 

Now, I'm getting a crash with the latest revision. :D

 

Here is the dump file:

 

http://upaste.me/6a118969fae93db6

 

Here is the code:

http://upaste.me/f5de89707bf6148a

 

It crashes when saving the map name I think, :D

 

When I haven't updated and recompiled my server it works fine although the map name that it saves for example is something like this ssed. for map prontera.

 

Thank you in advance guys!

 

God bless!

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hello, everyone, I'm trying to update Yommy's VendSQL plugin manually.

 

At first I was able to make it work (It executes but the only problem is it doesn't save map name right) then I found out that I'm not currently using the latest revision so I updated it then recompiled it.

 

Now, I'm getting a crash with the latest revision. :D

 

Here is the dump file:

 

http://upaste.me/6a118969fae93db6

 

Here is the code:

http://upaste.me/f5de89707bf6148a

 

It crashes when saving the map name I think, :D

 

When I haven't updated and recompiled my server it works fine although the map name that it saves for example is something like this ssed. for map prontera.

 

Thank you in advance guys!

 

God bless!

 

you sure the cash comes from the Vending Plugin ?

 

because the core dump says its your autoloottype  plugin

Share this post


Link to post
Share on other sites
  • 0

i guess its something to do with extra data in equips, that bindonequip collumn was added, and other changes, etc

 

anyway the whole plugin is coded crappy, and using the new plugin hooks it could be made much more efficiently

currently it loops every vender every few minutes and empties the vend sql and refills it..every few minutes O_O

 

it should be rebuilt with hooks of the create_vend, close_vend, sell_vend functions, (not sure of actual function names from my head)

and update the vend table from these hooks, so there is only a small sql update when something happens, instead of flooding every minutes..

 

however i lack the time to do this :(

Share this post


Link to post
Share on other sites
  • 0

i guess its something to do with extra data in equips, that bindonequip collumn was added, and other changes, etc

 

anyway the whole plugin is coded crappy, and using the new plugin hooks it could be made much more efficiently

currently it loops every vender every few minutes and empties the vend sql and refills it..every few minutes O_O

 

it should be rebuilt with hooks of the create_vend, close_vend, sell_vend functions, (not sure of actual function names from my head)

and update the vend table from these hooks, so there is only a small sql update when something happens, instead of flooding every minutes..

 

however i lack the time to do this :(

 

Well, I tried using Sanasol's diff as pattern in rewriting a new plugin for overlapping some of the functions but still have some issues with it although I was able to make it work add and delete values in the database.

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
Answer this question...

×   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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.