Raised This Month: $ Target: $400
 0% 

Super reservation slot(s)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-11-2007 , 09:40   Super reservation slot(s)
Reply With Quote #1

I have problems with this plugin. Changed it from amx to amxx + added redirection cvars, but it isn't working at all. Can anyone help me compliting this plugin so it will work. plz.
Attached Files
File Type: rar super_reservation.rar (14.5 KB, 121 views)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
Zenith77
Veteran Member
Join Date: Aug 2005
Old 04-11-2007 , 12:03   Re: Super reservation slot(s)
Reply With Quote #2

This should be posted in AMX Mod Migration support (I think) or Suggestions/Requests.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 04-11-2007 , 12:56   Re: Super reservation slot(s)
Reply With Quote #3

Quote:
Originally Posted by MPNumB View Post
I have problems with this plugin. Changed it from amx to amxx + added redirection cvars, but it isn't working at all. Can anyone help me compliting this plugin so it will work. plz.
I fixed it for you. At some point, someone put "new who" inside an if statement but they didn't realize that it couldn't be used once outside the if statement. I moved the new who to the core function so that now it is declared outside, initialized inside, and all is well

Quote:
Originally Posted by Zenith77 View Post
This should be posted in AMX Mod Migration support (I think) or Suggestions/Requests.
AMX Mod Migration would be best but heck, if he's programming it, scripting help works too. Plus, it works now (er, in theory :-)), so it shouldn't be an issue.

Slmclarengt
Attached Files
File Type: sma Get Plugin or Get Source (adminslots_ultimate.sma - 662 views - 6.0 KB)
File Type: amxx adminslots_ultimate.amxx (6.4 KB, 143 views)
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-11-2007 , 14:35   Re: Super reservation slot(s)
Reply With Quote #4

I didn't understand a thing. Thx 4 trying, but it dosn't work to. Help.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 04-11-2007 at 15:50.
MPNumB is offline
Send a message via Skype™ to MPNumB
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 04-11-2007 , 23:31   Re: Super reservation slot(s)
Reply With Quote #5

Ok, since it still doesn't work, either I will take a look at it and port it myself later or someone else can take care of it - please just request that it gets ported. Post the ORIGINAL plugin data in the suggestion/requests forum with a subject: "Port from AMX -> AMXX: Super Reservation Slots"

Sorry I can't do it now, I am in the middle of something.

Slmclarengt
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-12-2007 , 05:52   Re: Super reservation slot(s)
Reply With Quote #6

http://forums.alliedmods.net/showthr...831#post463831 I realy don't care how fast it will be complited, i just need it not in 2008. I accualy realy want, that you wold help me, cuz i posted this plugin in meny forums, meny offtopics, and noone accept you sayed that it is posible. Thx.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
pRED*
Join Date: Dec 2006
Old 04-12-2007 , 06:14   Re: Super reservation slot(s)
Reply With Quote #7

Try changing client_putinserver to client_connect.

If that doesn't help, ill have a proper look tomorrow. Kinda tired now..
pRED* is offline
Dark Kingdom
BANNED
Join Date: Apr 2007
Location: VT
Old 04-12-2007 , 06:17   Re: Super reservation slot(s)
Reply With Quote #8

client_putinserver is the correct way
PHP Code:
public client_putinserver(id
    { 
Dark Kingdom is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 04-12-2007 , 06:39   Re: Super reservation slot(s)
Reply With Quote #9

Access flags are giving to player at clinet_autorized(), but in steam servers (sv_lan 0) client_autorized() is not working, so if i will use clinet_connect() it will be to fast, to get information of player and amx_default_access accesses will be given. So i am using clinet_putinserver() (it is when player is connected). And problem can't be in that.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
slmclarengt
Veteran Member
Join Date: Jul 2004
Location: The Cookie Jar... or Pul
Old 04-12-2007 , 13:03   Re: Super reservation slot(s)
Reply With Quote #10

Quote:
Originally Posted by MPNumB View Post
http://forums.alliedmods.net/showthr...831#post463831 I realy don't care how fast it will be complited, i just need it not in 2008. I accualy realy want, that you wold help me, cuz i posted this plugin in meny forums, meny offtopics, and noone accept you sayed that it is posible. Thx.
Anything is possible except for perfection :-). I took another look at it but didn't see any major flaws - a few very minor things such as naming a variable the same name as a cvar doesn't go well in my book so I added _var to the end of them. I indented the code, but couldn't find anything that really stood out as a problem. Client_authorized(id) should work on steam servers perfectly fine - if you're worried about STEAM_ID_PENDING, that shouldn't really be an issue but I've never had a problem with my client_authorized(id) in all the plugins I've written/modified/run. I would highly recommend switching client_putinserver(id) to client_authorized(id) as client_authorized(id) means they are connected but their server route can be changed. Client_putinserver(id) is at the final stage when they are about to join teams (not that exact stage but near it) so using it may not work right.

Slmclarengt
Attached Files
File Type: sma Get Plugin or Get Source (adminslots_ultimate.sma - 660 views - 6.0 KB)
__________________
But we don’t beat the Reaper by living longer. We beat the Reaper by living well. -Dr. Randy Pausch, R.I.P.

Come play WC3:FT on BnD Clan Server! You know you want to: Connect to WC3:FT BnD - go ahead click me!
slmclarengt 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 06:36.


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