Raised This Month: $32 Target: $400
 8% 

Buy VIP With Points - Last Update 13/05/2013


Post New Thread Reply   
 
Thread Tools Display Modes
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-10-2013 , 20:51   Re: Buy VIP With Points
Reply With Quote #11

Quote:
Originally Posted by deadman909 View Post
Every time one suicides himself you get a point.
Gonna fix it, forgot set suicide and team kill

Quote:
Originally Posted by deadman909 View Post
Also if you stop the plugin and the map changes. All points get erased.
Hum that shouldnt happen
__________________

Last edited by Jhob94; 05-10-2013 at 20:51.
Jhob94 is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 05-10-2013 , 21:02   Re: Buy VIP With Points
Reply With Quote #12

Quote:
Originally Posted by Jhob94 View Post
Gonna fix it, forgot set suicide and team kill


Hum that shouldnt happen
Well the Pause/Unpause menu.

Do not know if there is a difference between pausing a plugin and stopping it.

The one I used and all points got erased was the Pause Menu for Plugins.

I stopped the Plugin and map changed and than when I turned the plugin back on again in the next map all points where gone.
__________________


Last edited by deadman909; 05-10-2013 at 21:03.
deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-10-2013 , 21:14   Re: Buy VIP With Points
Reply With Quote #13

Oh, it is probably because it loads points when connect to server (client_putinserver) so if you disable, changemap and then enable. He wont have points. And since player already connect and didnt loaded(due to it was disabled) it doesnt loads points. I think that is normal. Dont have any idea how i could fix that. Anyway i dont understand why someone should do it.

EDIT:
Updated. now it have teamkill and suicide remove points
__________________

Last edited by Jhob94; 05-10-2013 at 21:19.
Jhob94 is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 05-10-2013 , 21:29   Re: Buy VIP With Points
Reply With Quote #14

Quote:
Originally Posted by Jhob94 View Post
Oh, it is probably because it loads points when connect to server (client_putinserver) so if you disable, changemap and then enable. He wont have points. And since player already connect and didnt loaded(due to it was disabled) it doesnt loads points. I think that is normal. Dont have any idea how i could fix that. Anyway i dont understand why someone should do it.

EDIT:
Updated. now it have teamkill and suicide remove points
I'm just putting it out there because sometimes one needs to test plugins so one tends to stop all others to test one to see which one cause server crashes.

I think there is a way because EMP's Poke plugin doesn't erased the information when the plugin is stopped and map changes. But his plugin is big so I do not know how he did his.

---------------------------

Just got this errors

L 05/11/2013 - 00:49:42: Invalid player id 0
L 05/11/2013 - 00:49:42: [AMXX] Displaying debug trace (plugin "buy_vip_with_points.amxx")
L 05/11/2013 - 00:49:42: [AMXX] Run time error 10: native error (native "get_user_weapon")
L 05/11/2013 - 00:49:42: [AMXX] [0] buy_vip_with_points.sma::eDeath (line 104)
__________________


Last edited by deadman909; 05-11-2013 at 03:59.
deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-11-2013 , 10:26   Re: Buy VIP With Points - Last Update 11/05/2013
Reply With Quote #15

Ok did update.
Try now

About Erase points, I will post in scripting help. Thanks for report the bugs


EDIT:
I didnt posted nothing in scripting help yet.
I think i know how to make it. I think i just need to make load points when unpaused. Iam working on it now
__________________

Last edited by Jhob94; 05-11-2013 at 11:52.
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-11-2013 , 12:05   Re: Buy VIP With Points - Last Update 11/05/2013
Reply With Quote #16

Updated.
Can you test if pausing/unpause it saves/load points?
Because iam using amxbans in my servers and cant test it at moment :s
__________________
Jhob94 is offline
deadman909
Veteran Member
Join Date: Oct 2008
Old 05-12-2013 , 02:51   Re: Buy VIP With Points - Last Update 11/05/2013
Reply With Quote #17

Quote:
Originally Posted by Jhob94 View Post
Updated.
Can you test if pausing/unpause it saves/load points?
Because iam using amxbans in my servers and cant test it at moment :s
I am just curious why can't you test it with amx bans. I just want to know like that I probably learn something =).

But yea sorry for the long reply have had a long day today. Went to go get an ID than went to LA to buy stuff I needed and than headed to the Beach =).

******************************

But anyways LOL I have tested your plugin and so far I have not seen any errors. And good job on fixing the Points. They seem to not erased anymore when pausing the and un-pausing the plugin after a map change.
__________________

deadman909 is offline
Send a message via MSN to deadman909 Send a message via Yahoo to deadman909
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-12-2013 , 06:54   Re: Buy VIP With Points - Last Update 11/05/2013
Reply With Quote #18

Quote:
Originally Posted by deadman909 View Post
I am just curious why can't you test it with amx bans. I just want to know like that I probably learn something =).
Its simple. I use function from admin.sma for add vips. And Amxbans pauses the admin.amxx
And on this plugin, i dont make load vips, only add. So it needs to have admin.amxx or adminsql.amxx activated to load vips from users.ini

Quote:
Originally Posted by deadman909 View Post
But anyways LOL I have tested your plugin and so far I have not seen any errors. And good job on fixing the Points. They seem to not erased anymore when pausing the and un-pausing the plugin after a map change.
Thanks ;)
__________________
Jhob94 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-12-2013 , 07:00   Re: Buy VIP With Points - Last Update 11/05/2013
Reply With Quote #19

You can tell AMXBans to load from the users.ini file
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-12-2013 , 07:39   Re: Buy VIP With Points - Last Update 11/05/2013
Reply With Quote #20

Quote:
Originally Posted by YamiKaitou View Post
You can tell AMXBans to load from the users.ini file
But that disables admin.amxx?
Because idk if loading users.ini with amxbans is the same then admin.amxx
__________________
Jhob94 is offline
Reply


Thread Tools
Display Modes

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 20:13.


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