Jump to content
  • 0

[source request] makeegg returns pet id


Kurofly

Question


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  283
  • Reputation:   31
  • Joined:  07/08/14
  • Last Seen:  

Hello everyone.

 

In one of my scripts I would have to perform a sql table modification with the game id of a pet as the primary key.

I would also have to perform it the moment I make the pet egg.

 

So i wonder if someone could help me making the makepet/makeegg buildin_func return the game id of the pet created?

 

Thanks in advance /thx


EDIT: SOLVED

I solved my problem querying the pet sql data to get the last pet id just after having made one and it works fine.

Sorry not to have thought about it sooner..

Edited by Kurofly
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.   Paste as plain text instead

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