Raised This Month: $ Target: $400
 0% 

Req: Cal Only Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Downtown1
Veteran Member
Join Date: Mar 2004
Old 07-02-2004 , 21:24  
Reply With Quote #21

This could be done in three steps:

send a packet to a local PHP script
PHP script checks steam_id against elite-pimps.com's database
php scripts sends packet back with a "yay" or "nay",

it will also send the clan's additional information

amx plugin formats the info from the php script.

That's the easiest way to do it the way with the possibilities we have now IMHO.
Downtown1 is offline
scafe
Member
Join Date: Jun 2004
Old 07-03-2004 , 10:16  
Reply With Quote #22

your server would really lag from all the people trying to join (especially if it was a 32 man )
__________________
............................................. ............................................. ...................
............................................. ............................................. ...................
MY SIG IS TO LONG DONT YOU AGREE?
scafe is offline
Dygear
SourceMod Donor
Join Date: Apr 2004
Location: Levittown, NY
Old 07-03-2004 , 11:00  
Reply With Quote #23

Quote:
Originally Posted by AssKicR
well the problem is there is no way for us to check if it found it on the website or not
EXACTLY ...

Code:
/********************************************************************************  * Plugin name: Make Server Cal Only.  * Made by: Dygear  * Modules required:  * Warranties : This file is provided as is (no warranties).  ********************************************************************************/ #include <amxmodx> public plugin_init() {     register_plugin("Cal Only","0.1","Dygear") } public client_connect(id) { new dyAuthID[32] get_user_authid( id, dyAuthID, 31 ) server_cmd( steamid.elite-pimps.com/?action=search&type=single&key=steamid&query=%s, 0, dyAuthID ) }

Thats as far as i got then i was like, erm this is not going to work ...
It could work tho if all of these SteamIds wear on a MySQL Server ...
__________________
Dygear is offline
Send a message via AIM to Dygear Send a message via MSN to Dygear Send a message via Skype™ to Dygear
gotdilbert
Member
Join Date: Apr 2004
Old 07-04-2004 , 23:23  
Reply With Quote #24

This actually won't lag the server, because this would check ON ENTRY. It might slow down entry time, but it won't totally shut down operation (aka lag). Also, the best way to do this, is in fact as he said, a php script which sends a "nay" or "yay" (I'm still laughing from this one). I'll write it if you really needed. (And you grant me access to your server [I'm not cal currently]).
gotdilbert is offline
reese
Junior Member
Join Date: Apr 2004
Location: TeXaS
Old 07-05-2004 , 08:34  
Reply With Quote #25

just tell me what u need.. and i can set u up
__________________
justpwned.com:27015 looking for admins
reese is offline
Send a message via AIM to reese Send a message via Yahoo to reese
reese
Junior Member
Join Date: Apr 2004
Location: TeXaS
Old 07-14-2004 , 12:49  
Reply With Quote #26

ty...
__________________
justpwned.com:27015 looking for admins
reese is offline
Send a message via AIM to reese Send a message via Yahoo to reese
reese
Junior Member
Join Date: Apr 2004
Location: TeXaS
Old 12-22-2004 , 08:11  
Reply With Quote #27

i still think this was a good idea
__________________
justpwned.com:27015 looking for admins
reese is offline
Send a message via AIM to reese Send a message via Yahoo to reese
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 04:21.


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