Go Back   EQEmulator Home > EQEmulator Forums > Development > Development: Custom Code

Development: Custom Code This is for code thatdoes not emulate live and wont be added to the official code.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-13-2012, 10:32 AM
Tabasco's Avatar
Tabasco
Discordant
 
Join Date: Sep 2009
Posts: 269
Default

I don't think I have enough information to suggest a specific course of action here, but there are a lot of possibilities.

Your vectors sound like a sort of linked list, but if that's the case, you would most likely be better off using a std::map. In fact, for the purpose of exporting hashes the prototype for PerlembParser::ExportHash takes a map<string, string>.
If you could store it in mob or client you wouldn't need to pass it at all since you would already have a handle on it.

If it's temporary data that is generated uniquely at event time and then discarded, it has the potential to be a bit more complicated.
Depending on just how large these pairs get, you could send perl a string delineated like a query string and let perl do the work since that's what it's good at.
name=value&name=value&name=value, etc.
Reply With Quote
 


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 09:02 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