Raised This Month: $51 Target: $400
 12% 

update broke us


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 08-29-2013 , 16:12   Re: update broke us
Reply With Quote #12

well if you did use modulus and you only accepted even numbered delimiter pairs, it would by far filter out most "stupid" mistakes, and "bacon sandwich" would fail outright, since it would split into an odd number (1 string)

Also this:

new count = ExplodeString(att, " ; ", atts, 32, 32);

should be:

new count = ExplodeString(att, ";", atts, 32, 32);

As far as I know, atoi discards whitespace leading up to the number, and then discards everything after the nubmer it finds, so I assume stringtoint does the same.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 08-29-2013 at 16:17.
friagram 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 10:43.


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