Raised This Month: $ Target: $400
 0% 

Parsing help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 05-24-2014 , 08:55   Re: Parsing help
Reply With Quote #2

You need to lay out some type of rules for this data ie. some consistent ordering, or prefix each data item with an identifier POWER-powervalue CLASS-theclass. A computer can only do what you tell it to do, there's no magic way for it to know what you're trying to accomplish.

Looking at your second example, are the types of arguments dynamic, or only the data items belonging to each type dynamic?

If you wanted to do like "100 1 55 AWP GLOCK HEGRENADE" (100=power, 1=class, 55=ability, then a list of weapons) then this is simple.

Give some real-life example datas so we can better understand what needs to be parsed.
__________________

Last edited by Bugsy; 05-24-2014 at 08:55.
Bugsy is offline
 



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


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode