Raised This Month: $ Target: $400
 0% 

Error Array dimensions !!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Flick3rR
Veteran Member
Join Date: Feb 2014
Location: Bulgaria, Stara Zagora
Old 01-12-2015 , 08:08   Re: Error Array dimensions !!
Reply With Quote #1

Better try with creating a trie where to save some valur for the player's IP (as a key). Do that on connect. And instead of looping all the players in the server and checking manually each one's IP, you can just check if the trie key exists and that'd be enough. You can use also some boolean to detect the actual player with the current IP and use it like an rxtra check on connect, just to be more sure. If you didn't get it at all, I can show some example when I get home.
__________________
Flick3rR is offline
Send a message via Skype™ to Flick3rR
Reply



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 15:30.


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