Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

War3 problem


  • Zamknięty Temat jest zamknięty
7 odpowiedzi w tym temacie

#1 Piekarzewski

    Nowy

  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Lokalizacja:Warszawa
Offline

Napisano 01.08.2010 03:37

witam, mam problem z war3ft.


postanowiłem, ze pogram sobie z tym pluginem na pod botach i mamy problem. nie zapisuje mi expa i nie zmienia ustawień dostawania expa przy zabijaniu itd.


sma i inl jest w załączniku, tu wstawię jeszcze jedno z tych co grzebalem (XP - plik H)

/*
* XP Header File
*/

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

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

#define WIN_ROUND 50 // 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[CSW_WAR3_MAX+1] = {1.0};

// Amount of XP needed to gain a level
new iXPLevelShortTerm[11] = {0,500,2000,4000,8000,16000,20000,27000,50000,75000,100000};
new iXPLevelSaved[11] = {0,100,200,400,800,1600,3200,6400,12800,25600,51200};

// Amount of XP awarded when killing a user of this level
new iXPGivenShortTerm[11] = {10,15,25,35,40,50,60,70,80,90,95};
new iXPGivenSaved[11] = {6,8,10,12,14,16,18,20,24,28,32};




z góry dzięki za pomoc.

Załączone pliki


  • +
  • -
  • 0

#2 MafiaDL

    Naj-Najstarszy Moderator

  • Przyjaciel

Reputacja: 561
Wszechwiedzący

  • Postów:3 492
  • GG:
  • Imię:Łukasz
  • Lokalizacja:Warsaw
Offline

Napisano 01.08.2010 10:43

pokaz war3ft.cfg co to za wersja ?
  • +
  • -
  • 0

#3 Piekarzewski

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Lokalizacja:Warszawa
Offline

Napisano 01.08.2010 17:03

// Warcraft 3 Frozen Throne Configuration File


// Saving Options

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

wc3_save_by 1 // What should I save this as? steam id = 0, IP = 1, name = 2 (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


// 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_ignore_bots 0 // Ignore bots, spectators, and HLTV when calculating minimum players required to gain XP? (default is 0)
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 1 // 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? (default is 0)
wc3_start_level 0 // What level should all players start at when joining? (default is 0)

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

wc3_race_icon 1 // Allow users to type /icons to show player icons above the player (default is 1)
wc3_level_icon 1 // 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 15.0 // Amount of time (in seconds) to delay the ultimates at the start of each round (default is 15.0)
wc3_ult_cooldown 35.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 0 // 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 1 // When using gloves, should orcs be given the critical dmg? (Default is 0)
wc3_boots 0.50 // Percentage increase given by boots (.10 = 10%, default is 0.10)
wc3_claw 15 // Damage done by Claws of Attack (default is 6)
wc3_health 30 // Health bonus given for periapt of health (default is 15)
wc3_frost 150.0 // Speed of victim when attacked with Orb of Frost (default is 125.0)
wc3_mask 0.5 // Percentage of life gained back by mask of death (default is 0.3)
wc3_cloak 100 // Invisibility given with cloak, lower is more invisible (default is 150)
wc3_sock 0.1 // Gravity level for Sock of the Feather (default is 0.5)
wc3_tome 80 // XP given for purchasing tome of experience (default is 50)


// Bot Configuration Options

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


// DOD Options

wc3_dod_start_money 800 // Starting money for dod


proszę :) wersja 3.0 rc 13

Użytkownik Piekarzewski edytował ten post 01.08.2010 17:04

  • +
  • -
  • 0

#4 Portek

    Kończymy zabawę, permanentna emerytura!

  • Przyjaciel

Reputacja: 976
Master

  • Postów:3 007
  • GG:
  • Steam:steam
  • Imię:Michał
  • Lokalizacja:Częstochowa
Offline

Napisano 01.08.2010 17:24

wc3_save_xp_db 1 // How should we save XP? (0 = SQLite, 1 = MySQL)

// SQL Database Information

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


Się zdecyduj, albo zapisuj dane do bazy i podaj je w konfiguracji, albo zapisuj XP do pliku - wc3_save_xp_db 0

Zmień wc3_query_client na 0
  • +
  • -
  • 0

serwer-1.png
IP: ts3.cserwerek.pl


#5 Piekarzewski

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Lokalizacja:Warszawa
Offline

Napisano 01.08.2010 21:09

zmieniłem na 0 i dalej exp się nie zapisuje...
  • +
  • -
  • 0

#6 LiFt

    Początkujący

  • Użytkownik

Reputacja: 1
Nowy

  • Postów:13
  • Lokalizacja:Gwizdowa
Offline

Napisano 03.08.2010 12:03

tak powinno byc


Napisano 01 sierpień 2010 - 18:03
// Warcraft 3 Frozen Throne Configuration File


// Saving Options

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

wc3_save_by 2 // What should I save this as? steam id = 0, IP = 1, name = 2 (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
  • +
  • -
  • 0

#7 Piekarzewski

    Nowy

  • Autor tematu
  • Użytkownik

Reputacja: 0
Nowy

  • Postów:7
  • Lokalizacja:Warszawa
Offline

Napisano 04.08.2010 12:27

panowie, teraz nie sprawdzę, bo jestem u rodzinki, ale jak tylko wrócę to spróbujemy.. i jeszcze mam pytanie: Jak zmienić "limit" expa na lvl? zeby np na 5 lvl bylo xxx a nie zzz expa. niby mam tak:
// Amount of XP needed to gain a level
new iXPLevelShortTerm[11] = {0,500,2000,4000,8000,16000,20000,27000,50000,75000,100000};
new iXPLevelSaved[11] = {0,100,200,400,800,1600,3200,6400,12800,25600,51200};

ale to nie dziala i dalej jest 150 na 1, a przy 5500 10 lvl ;/
  • +
  • -
  • 0

#8 Change

    Super Hero

  • Użytkownik

Reputacja: 129
Zaawansowany

  • Postów:1 161
  • Lokalizacja:Konin
Offline

Napisano 04.08.2010 12:38

Przekompiluj ponownie.
  • +
  • -
  • 0




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych