Raised This Month: $ Target: $400
 0% 

BF2 Rank Mod 1.5.5 [4/21/11] (pRED*)


Post New Thread Reply   
 
Thread Tools Display Modes
flexy10
Junior Member
Join Date: Jul 2007
Old 01-15-2008 , 10:57   Re: Bf2 Rank Mod
Reply With Quote #811

we don't have steam (nonsteam)
nickname rank system work ?
flexy10 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-15-2008 , 19:54   Re: Bf2 Rank Mod
Reply With Quote #812

Quote:
Originally Posted by flexy10 View Post
we don't have steam (nonsteam)
nickname rank system work ?
nonsteam = not supported

Quote:
Originally Posted by Mini_Midget View Post
Hey vittu.

Is it possible to try and squish this bug?
Code:
L 12/15/2007 - 19:14:26: [AMXX] Displaying debug trace (plugin "bf2rank.amxx")
L 12/15/2007 - 19:14:26: [AMXX] Run time error 10: native error (native "nvault_lookup")
L 12/15/2007 - 19:14:26: [AMXX]    [0] save.inl::vault_load (line 48)
L 12/15/2007 - 19:14:26: [AMXX]    [1] save.inl::load_badges (line 118)
L 12/15/2007 - 19:14:26: [AMXX]    [2] forwards.inl::client_putinserver (line 43)
L 12/15/2007 - 19:14:26: [nVault] Invalid vault id: 0
I'm using 1.80 and CSDM 2.1 with CS-Flags.
I set it to use nvault. I tried to fix the problem myself but can't narrow it down.
Do you have something like fake clients in the server? It seems vault id is being set too late like after someone gets putinserver. Should really be done in plugin_init to avoid this. I'll edit this post a bit later to tell you something to try to see if it will help...

-----------------------------------
Edit, Ok see if this helps at all.
Open forwards.inl find plugin_cfg() at the top, comment out this line:
Code:
	//set_task(1.0,"vault_init")
Open bf2rank.sma, add this somewhere near the bottom of plugin_init():
Code:
	vault_init()

Last edited by vittu; 01-15-2008 at 20:23.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 01-15-2008 , 19:56   Re: Bf2 Rank Mod
Reply With Quote #813

Yes I am using fake clients. Just need them to stop round end when there aren't many people on.
__________________
It's a mystery.
Mini_Midget is offline
Michael_a90
Junior Member
Join Date: Dec 2007
Old 01-16-2008 , 06:14   Re: Bf2 Rank Mod
Reply With Quote #814

can SOMEONE HELP ME?
I still dont get eny score points for taking flags.
Michael_a90 is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-16-2008 , 15:47   Re: Bf2 Rank Mod
Reply With Quote #815

Quote:
Originally Posted by Michael_a90 View Post
can SOMEONE HELP ME?
I still dont get eny score points for taking flags.
Yea, the flags plugin did it differently than expected. I'll edit this post with an edited inl later today that you can use so that it will work with the flags plugin.


-------------------------
Edit: Replace this .inl and recompile and it will work with csflags 1.18 (except for match points because that is csflags fault for unregistering the forward unnecessarily)...

Last edited by vittu; 03-09-2009 at 00:58. Reason: Attachment removed, main post updated with fix.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
agd4life
Junior Member
Join Date: Nov 2007
Old 01-16-2008 , 19:50   Re: Bf2 Rank Mod
Reply With Quote #816

the mod is not checking for Badges when respwan....found out because i got 4 kills in 1 round...died and did not get my basic badge
agd4life is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-16-2008 , 20:11   Re: Bf2 Rank Mod
Reply With Quote #817

Are you running csdm? if not, did you recompile the plugin with the csdm define commented out? if not, go do that and recompile the plugin so badges get checked at the end of the round instead of on death.

As for your 4 in 1 problem, it happens, not something I have time to fix or debug. More than likely is caused by kill not being registered with the client_death forward, as that is where the kill gets counted. If not that then the bf2rank check process needs tweaking.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
agd4life
Junior Member
Join Date: Nov 2007
Old 01-16-2008 , 20:23   Re: Bf2 Rank Mod
Reply With Quote #818

yeah we are running CSDM i have never seen it scroll a message "Checking for earned badges"......oh wait i just remembered i am stupid!!!!
the guy who owns the server is running bots.....i told him not to because sytremaelaker told me that bf2 does not have bot support....do you think that is the cause
agd4life is offline
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 01-16-2008 , 20:34   Re: Bf2 Rank Mod
Reply With Quote #819

Bots shouldn't have a problem with this, though like I said I really don't have the time to debug if you actually did everything correct and it's still not working.
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
agd4life
Junior Member
Join Date: Nov 2007
Old 01-16-2008 , 21:26   Re: Bf2 Rank Mod
Reply With Quote #820

if it helps here are my settings
oh yeah thanks for helping me out...appreciated

bf2_active 1
bf2_badges 1
bf2_awp 0
bf2_xpmultiplier 0.3
bf2_sql 1
bf2_icon_time 1.5
bf2_flag_kills 2
bf2_flag_round_kills 5
bf2_flag_match_kills 10
bf2_flag_min_players 4
bf2_badgepowers 1
bf2_hud_options "abcde"
agd4life 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 01:36.


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