Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 06-15-2010, 01:02 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

I added a feature to this to be able to get objects by DB id, and objects by entity list ID.

I also added the option of getting the object's entity id.

In addition to the other ways of getting an object, there is now a returned value on CreateGroundObject perl command for entity ID.

This *should* allow people to make permanent fixtures via perl, if they use $object->Save() on a temporarily spawned object. That will give it a DB ID if it has none. Now to have some sort of save return a DB and set it...

Will post a diff soon.
Reply With Quote
  #2  
Old 06-15-2010, 01:19 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Added more to my previous post. I added the command VarSave, which saves it to the database and returns the DBID that it saves. It also sets the DB on the object immediately.

Testing it now, but updated the first post with the diff.
Reply With Quote
  #3  
Old 06-15-2010, 01:43 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Fixed some dumb errors I made. Diff updated.
Reply With Quote
  #4  
Old 06-16-2010, 06:21 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Updated the post with moving objects' location & heading, updated in realtime.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 02:10 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3