Raised This Month: $ Target: $400
 0% 

uSurf v5.2 (Formerly Surf Management / Tools)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zippo
Junior Member
Join Date: Sep 2007
Old 09-25-2007 , 10:39   Re: uSurf v5.2 (Formerly Surf Management / Tools)
Reply With Quote #1

Err ok I tink I did it wrongly. Apparently the "new" plugin have a respawn problem. Not sure if its only on CT but I was playing as CT and I only respawned once or twice per round and then stopped respawning. Even when I type /respawn, it says "you are respawned" but I remain dead.

This is what I did to the code. Let me know if its right or wrong. (added the bold part)

Quote:
public Spawn(id)
{ if(!is_user_alive(id)) return
new CsTeams:Team = cs_get_user_team(id)

if(is_user_connected(id) && (Team == CS_TEAM_T || Team == CS_TEAM_CT) && get_pcvar_num(p_On) && get_pcvar_num(p_Respawn) && g_SurfMap)
{
dllfunc(DLLFunc_Spawn,id)
set_task(0.2,"GiveSuit",id)
set_task(0.3,"GiveItems",id)
}
}
Zippo is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 09-25-2007 , 17:23   Re: uSurf v5.2 (Formerly Surf Management / Tools)
Reply With Quote #2

Right! Sorry, massive error in logic. Use is_user_connected instead.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Zippo
Junior Member
Join Date: Sep 2007
Old 09-30-2007 , 10:17   Re: uSurf v5.2 (Formerly Surf Management / Tools)
Reply With Quote #3

Hmm the server is still crashing constantly but I've no idea why. Theres no error log saved and the host refuses to check the console. He says those who install extra plugins are responsible for the server. Don't think I'll be using this plugin anymore, unless the problem somehow got solved.

Anyways thanks hawk552 for your help.
Zippo is offline
Old 12-27-2007, 14:53
xmoonrakerx
This message has been deleted by xmoonrakerx.
xmoonrakerx
New Member
Join Date: Dec 2007
Old 12-27-2007 , 14:54   Re: uSurf v5.2 (Formerly Surf Management / Tools)
Reply With Quote #5

Hi, I have been trying to use this plugging with no succes. The server starts fine but after a couple of minutes and a couple of people playing the server simply crashes with no log error or message. It just closes. I have tryed almost anything posible setting and AMX MOD X 1.76b and 1.8 final and its the same with both. I have changed a lot of cvars with no succes neither. Here are my last settings and it still crashes. Please help.

NOTE: It happens with people playing, it doesnt matter the number of people, or the map, it always does it and its almost driving me crazy
Attached Files
File Type: cfg amxx.cfg (7.8 KB, 167 views)
xmoonrakerx is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-12-2005 , 00:00  
Reply With Quote #6

Heheh, thanks for the approval EKS, you're the best mod.

Anyways, I already tried godmode, but realized that some surf maps gib you when you fall to the bottom. If godmode is on, the person wouldn't die, and they would just be sitting on the bottom of the map helplessly.

Also, I'm working on a new version that has more features than this, such as:

- Automatic cvars for surf_ maps
- Strip user weapons when they spawn
- Possibly add a respawn plugin
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
CubicVirtuoso
Senior Member
Join Date: Sep 2004
Location: Canada
Old 08-12-2005 , 02:12  
Reply With Quote #7

Congrats on getting it approved.. getting ur karma back up i see
__________________
Sig Under Construction.
CubicVirtuoso is offline
Send a message via ICQ to CubicVirtuoso Send a message via AIM to CubicVirtuoso Send a message via MSN to CubicVirtuoso Send a message via Yahoo to CubicVirtuoso
Blitz
Senior Member
Join Date: Jul 2005
Location: Google
Old 08-12-2005 , 02:13  
Reply With Quote #8

Nice plugin man.
Very handy.
__________________
[img]http://img268.**************/img268/7071/blitz4ek.jpg[/img]

In the beginning, God created the search button.
Blitz is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-12-2005 , 20:49  
Reply With Quote #9

New version (v2.0 of the entire thing). A lot more features.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
User32
Member
Join Date: Aug 2005
Old 08-12-2005 , 21:34  
Reply With Quote #10

Karma++

5/5 gj.
__________________
You just read this sentence! Isn't that fantastic?
User32 is offline
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 08:58.


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