Strange Information savings and XP doesn't save...

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Strange Information savings and XP doesn't save...

Post by Magnuz » Thu Mar 29, 2007 3:12 pm

Yo, I am quite new to using the WC3FT, but I have played on it for a very long time so I decided to try and host one myself. 8)

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

My Problem:
I changed the XPlog in C:/Program/Steam/steamapps/username/czero/amxmodx and so on to the wc3ft folder where the txts' are kept.

I changed so that players would reviece different Experience, I saved the file but nothing changed.
When I try to savexp and reopen the server (in lan against some bots :P ) the XP is resetted.

Besides, when I try to take XP from myself or other bots the whole game crashes..

I looked in Cvarlist in console and changed a few things as recent event:

{
wc3_save_xp_db 1
wc3_save_xp 1
wc3_ult_cooldown 30
wc3_ult_delay 10
}

After I changed that, the Changerace menu refused to show up :? and I was running around without a Race.. >:-/

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

Also, I have a bit of server questions (Listen Server :roll: ):..

Where can I check my Server IP Adress?

Do I have to change anything else than "Sv_Lan 0" so others can Join?

Will other players experience high latency when the server is running on 2Mbit cable? :oops:

Will my Router or Firewall interfere with the connections?
-How can I change it?

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

Thanks, Hope this is enough info to make a conclusion of the whole problem. :wink:

--- Please enter the following information for support ---
War3ft Version: latest
Amxmodx Version: latest
Metamod Version:
amxx list:
amxx modules:
meta list:

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Re: Strange Information savings and XP doesn't save...

Post by YamiKaitou » Thu Mar 29, 2007 3:35 pm

Magnuz wrote:I changed the XPlog in C:/Program/Steam/steamapps/username/czero/amxmodx and so on to the wc3ft folder where the txts' are kept.
What txts?
After I changed that, the Changerace menu refused to show up :? and I was running around without a Race.. >:-/
Known Bug
Where can I check my Server IP Adress?
You join to the IP listed in your server console. Everyone else must connect to this IP
Image
Do I have to change anything else than "Sv_Lan 0" so others can Join?
You have to forward your ports on your router
Will my Router or Firewall interfere with the connections?
-How can I change it?
If they are blocking incoming connections, yes.
--- Please enter the following information for support ---
War3ft Version: latest
Amxmodx Version: latest
Metamod Version:
amxx list:
amxx modules:
meta list:
Define "latest"
Image

No support via PM or Email

Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Post by Magnuz » Thu Mar 29, 2007 11:20 pm

Define "latest"
AMXModx: v 1.75a
WC3FT: 3.0rc5
What txts?
Why isn't the XP gaining changed when I change the XP.txt?*
and
Where can I change it otherwise?
You have to forward your ports on your router
I have a SMC Router and I don't really know how to forward the ports in it..
I heard that if I enter the IP adress to the router in the Web Browser I can configure it... too bad it doesn't work.. :-S

Any suggestions?
--- Please enter the following information for support ---
War3ft Version: 3.0rc6
Amxmodx Version: 1.76d
Metamod Version: 1.19
amxx list:
amxx modules:
meta list:

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Fri Mar 30, 2007 7:15 am

Magnuz wrote:
What txts?
Why isn't the XP gaining changed when I change the XP.txt?*
and
Where can I change it otherwise?
Can you upload the file that you changed so I can have a look at it?
You have to forward your ports on your router
I have a SMC Router and I don't really know how to forward the ports in it..
I heard that if I enter the IP adress to the router in the Web Browser I can configure it... too bad it doesn't work.. :-S
If you tell me the Model number, I can probably find a guide for you.
Image

No support via PM or Email

Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Post by Magnuz » Fri Mar 30, 2007 7:51 am

/*´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.
* XP Header File
´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.´¯`·.¸¸.*/

// Objective Modifiers
#define DEFUSING_BOMB 8 // XP awarded when the user starts to defuse the bomb
#define DEFUSED_BOMB 25 // XP awarded when the user defuses the bomb
#define PLANTING_BOMB 8 // XP awarded when the user starts planting the bomb
#define PLANT_BOMB 25 // XP awarded when the user plants the bomb
#define SPAWN_BOMB 5 // XP awarded when the user spawns with the bomb
#define BOMB_PICKUP 8 // XP awarded when the user picks up the bomb
#define TOUCH_HOSTAGE 8 // XP awarded when the user touches a hostage
#define RESCUE_HOSTAGE 25 // XP awarded when the user rescues the hostage
#define KILL_HOSTAGE 25 // XP lost when killing a hostage
#define SPAWN_VIP 15 // XP awarded for spawning as the VIP
#define ESCAPE_VIP 30 // XP awarded for escaping as the VIP
#define OBJ_RADIUS 500 // Nearby radius to award XP for helping complete objectives

// Kill modifiers
#define KILL_HEADSHOT 10 // XP awarded for getting a headshot
#define KILL_HOSTAGE_SAVER 5 // XP awarded for killing the hostage saver
#define KILL_DEFUSER 10 // XP awarded for killing the defuser
#define KILL_PLANTER 10 // XP awarded for killing the planter
#define KILL_BOMB_CARRIER 5 // XP awarded for killing the bomb carrier
#define KILL_VIP 20 // XP awarded for killing the VIP
#define KILL_RADIUS 250 // Nearby radius to award XP

#define WIN_ROUND 25 // XP awarded for winning the round


// Holds information about the player
enum
{
PLR_BOMB_DEFUSER = 1,
PLR_BOMB_PLANTER,
PLR_HOSTAGE_RESCUER,
PLR_VIP,
PLR_BOMB_CARRIER,
};

new g_iPlayerRole[33];
new bool:bHasBegunPlantingOrDefusing[33];

// Holds the XP Multipliers per weapon
new Float:fWpnXPMultiplier[62] = {1.0};

// Amount of XP needed to gain a level
new xplevel[11] = {0,100,200,400,800,1600,3200,6400,12800,25600,51200};

// Amount of XP awarded when killing a user of this level
new xpgiven[11] = {15,20,30,40,45,55,65,75,85,95,100};

and the Router (I think it's right..): SMC7004FW Not sure though...
I don't know where the Manual is, but this number was printed under the SMC-logo..
--- Please enter the following information for support ---
War3ft Version: 3.0rc6
Amxmodx Version: 1.76d
Metamod Version: 1.19
amxx list:
amxx modules:
meta list:

Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Post by Magnuz » Fri Mar 30, 2007 8:00 am

Besides... I think I found the right file after a bit of searching and found the War3ft.cfg waaay back in a lot of folders and opened it in a text-editor and I found these and changed it to...:

// Warcraft 3 Frozen Throne Configuration File


// Saving Options

wc3_save_xp 1 // Enables saving of experience (uses a vault, default is 0)
wc3_save_xp_db 0 // How should we save XP? (0 = NVault, 1 = MySQL, 2 = SQLite)

wc3_save_by 0 // What should I save this as? steam id = 0, IP = 1, name = 2 (SQL ONLY, default is 0)
wc3_save_pruning 0 // Automatically prunes the database of old users at a mapchange (default is 0)
wc3_days_before_delete 31 // However many days before deleting XP or pruning from the database (default is 31)
wc3_save_end_round 1 // Save xp at the end of each round (may cause lag, default is 1)


// SQL Database Information

wc3_sql_dbhost "localhost" // Host Name
wc3_sql_dbuser "root" // User Name
wc3_sql_dbpass "" // Password
wc3_sql_dbname "" // Database Name
wc3_sql_tbname "war3users" // Table Name


// Admin Options

wc3_admin_flag "m" // Admin flag required to give/take XP (default is m)


// Experience Options

wc3_xp_multiplier 1.0 // set the level required to gain a level as a multiple (default 1.0)
wc3_xp_weap_multiplier 1 // Award XP based on the weapon used (default is 1)
wc3_min_players 2 // Minimum amount of players needed b4 awarding XP (default is 2)
wc3_xp_auto_average 0 // With this option set to 1, the joining players will receive the average amount of XP that all of the players have (SHORT TERM XP ONLY, default is 0)
wc3_show_objectives 1 // If enabled, will display message in chat to show XP they gain for completing certain objectives (default is 1)
wc3_show_kill_obj 0 // Shows how much XP you gain for killing someone (each kill, default is 0)
wc3_xp_radius 750 // Radius to give XP to teammates near where the special objective is completed (rescued hosties, bomb planted, killed vip, vip escaped, default is 750)


// Game Play Enhancements

wc3_races 8 // Number of races (if races are less than 5, the second shopmenu will be disabled (4 is standard war3), default is 8)
wc3_grenade_protection 0 // Only 1 HE grenade will be allowed for purchase per round (default is 0)
wc3_spec_position 0 // 0 is for left, 1 is for right (where to put the information for those spectating, default is 0)
wc3_buy_zone 0 // Restrict purchasing shopmenu items to within the buyzone? (default is 0)
wc3_buy_time 0 // Restrict purchasing shopmenu items to within the buytime? (default is 0)
wc3_buy_dead 1 // Allow users to purchause items when dead? (default is 1)
wc3_show_player 1 // Show teammate and enemy information in the center of the screen when they are on target? (not for DOD, default is 1)
wc3_query_client 1 // Check user's cl_minmodel cvar every second (default is 1)
wc3_cheats 0 // Enable cheats for wc3? (default is 0)
wc3_psychostats 1 // Print psychostats information to log files for wc3 abilities?


// Icon Options (displayed above player's head)

wc3_race_icon 0 // Allow users to type /icons to show player icons above the player (default is 1)
wc3_level_icon 0 // Allow users to type /icons to see player levels above the player (default is 1)


// Chameleon Race Configuration Options - see _chameleon.txt for more information

wc3_cham_random 1 // Should the 9th race have random skills each round?, if so the next 4 option are irrelevant (default is 1)
wc3_cham_skill1 14 // What skill ID for skill 1?
wc3_cham_skill2 0 // What skill ID for skill 2?
wc3_cham_skill3 6 // What skill ID for skill 3?
wc3_cham_ultimate 7 // What skill ID for the user's ultimate?
wc3_cham_passive 20 // What skill ID for the user's passive skill?


// Skill and Ultimate configurations

wc3_ult_delay 10.0 // Amount of time (in seconds) to delay the ultimates at the start of each round (default is 15.0)
wc3_ult_cooldown 30.0 // Cooldown of all ultimates (default is 35.0)
wc3_blink_protection 1 // slays people who abuse blink on some maps (skywalking, map exploiting, default is 1)
wc3_blink_dizziness 0 // What type of diziness? (0 is flashbang effect, 1 is fading blue screen, default is 0)
wc3_entangle_drop 1 // Should the player's primary weapon be dropped when they are entangled? (default is 0)


// Item configurations

wc3_glove_timer 10 // Interval between receiving a new grenade with the Flaming Gloves of Warmth (default is 10)
wc3_glove_orc_damage 0 // When using gloves, should orcs be given the critical dmg? (Default is 0)
wc3_claw 6 // Damage done by Claws of Attack (default is 6)
wc3_health 10 // Health bonus given for periapt of health (default is 15)
wc3_frost 125.0 // Speed of victim when attacked with Orb of Frost (default is 125.0)
wc3_mask 0.3 // Percentage of life gained back by mask of death (default is 0.3)
wc3_cloak 150 // Invisibility given with cloak, lower is more invisible (default is 150)
wc3_sock 0.5 // Gravity level for Sock of the Feather (default is 0.5)
wc3_tome 50 // XP given for purchasing tome of experience (default is 50)


// Bot Configuration Options

wc3_bot_buy_item 0.33 // Chance of a bot buying a shopmenu item at the beginning of the round (default is 0.33)

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

I tested these configurations and guess what?... It works now, It saved my experience when I changed the map!..

But I still want to change the configurations for the XP awards...
--- Please enter the following information for support ---
War3ft Version: 3.0rc6
Amxmodx Version: 1.76d
Metamod Version: 1.19
amxx list:
amxx modules:
meta list:

Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Post by Magnuz » Fri Mar 30, 2007 8:31 am

I found something else too..

Whenever the CTs' defuse the bomb or the Ts' plant the bomb, the experience isn't awarded to people around you.

What do I have to change to award XP within a radius?..

(Could be a Developers task, I don't know if this is something the mod carries, but I have seen it in other War3FT servers..)
--- Please enter the following information for support ---
War3ft Version: 3.0rc6
Amxmodx Version: 1.76d
Metamod Version: 1.19
amxx list:
amxx modules:
meta list:

User avatar
Geesu
<b>King of the world!</b>
Posts: 3159
Joined: Tue Jul 05, 2005 9:24 pm
Contact:

Post by Geesu » Fri Mar 30, 2007 8:58 am

Did you check error logs?
No Support via PM

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Fri Mar 30, 2007 9:48 am

If nobody can join your server, please go to this site and follow this guide on how to forward your ports. This link is a direct link for a guide specifically for that router and model. http://portforward.com/english/routers/ ... Server.htm


Also, are you recompiling the plugin after you edit the values?
Image

No support via PM or Email

Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Post by Magnuz » Mon Apr 09, 2007 3:00 am

New Problem: I got one of my friends server on HLDS, but I have reconfigured some txts so it would recognize me as an admin. When i join the server I don't get them, where do I change the files so it will automaticly give the previliges?
--- Please enter the following information for support ---
War3ft Version: 3.0rc6
Amxmodx Version: 1.76d
Metamod Version: 1.19
amxx list:
amxx modules:
meta list:

Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Post by Magnuz » Tue Apr 10, 2007 12:23 pm

I have successfully added me and a friend as an Admin for thw AMX Mod X.

But I still have another problem with the War3FT...

The XP I have scraped together and saved is shared with everyone and just as the map changes I see that some races I don't have played on have got lots of XP.

Why isn't the experience saved for separate users?
--- Please enter the following information for support ---
War3ft Version: 3.0rc6
Amxmodx Version: 1.76d
Metamod Version: 1.19
amxx list:
amxx modules:
meta list:

Post Reply