Stránka 1 z 2

Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 07:17
od GameMan
Server: IP:81.0.217.178:27549

Zdravím, omlouvám se jestli se to tu řešilo, ale mám problém se serverem, je to ExaStrike / War3Ultimate, Mód: Ultimate Warcraft 3 Next Generation (UWC3NG) a za Nechce to uložit XP, a konzole píše: "L 07/28/2014 - 07:02:45: [uwc3ng.amxx] [SQLITE] Database Connection Failed: [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" a potřeboval bych poradit co s tím, pokud se vám to už stalo, tak prosím vás napište postup co udělat aby to fungovalo správně. Váš věrný GameMan.

-- 28 črc 2014, 06:54 --

Dobré, měl jsem chybu v CFG které jsem si všiml, lock :).

-- 28 črc 2014, 07:20 --

Pořád nefunguje, konzole píše: L 07/28/2014 - 08:19:29: [uwc3ng.amxx] YSQLX] Database Connection Failed: [1045] Access denied for user 'root'@'localhost' (using password: NO) a CFG :

Kód: Vybrat vše

// Ultimate Warcraft 3 Next Generation Config file
// Last-Modified Today :)


// main settings
uwc3ng_enabled "1"         // Enable (1) or Disable (0) Uwc3ng


// Where should we save the XP's then?
uwc3ng_savexp_sql "0"         // 0 = MySQL, 1 = SQLITE, 2 = NVault


// How should we save the XP's then?
uwc3ng_save_by "0"         // 0 = SteamID, 1 = IP, 2 = Name


// MYSQL options. You don't have to edit it if you use nvault
uwc3ng_host "127.0.0.1"         // Server ip where the Mysql Database is hosted
uwc3ng_user "root"            // The login name from the database
uwc3ng_pass ""            // The password from the database
uwc3ng_name "uwc3ng"         // The database name


// Psychostats
uwc3ng_enable_psychostats "1"      // 1 = Enable psychostats log, 0 = Disable psychostats log


// Admin options
uwc3ng_admin_flag "m"         // The required flag for admin commands


// Gameplay
uwc3ng_teleport_protection "1"   // slays people who abuse teleport on some maps (skywalking, map exploiting, default is 1)
uwc3ng_ultimate_cooldown "20"      // Amount of time (in seconds) to delay the ultimates at the start of each round (default is 20)
uwc3ng_teleport_dizziness "0"      // What type of dizziness? (0 is flashbang effect, 1 is fading blue screen, default is 0)
uwc3ng_entangle_drop "0"      // Should the player's primary weapon be dropped when they are entangled? (default is 0)
uwc3ng_spec_position "0"      // 0 is for left, 1 is for right (where to put the information for those spectating, default is 0)
uwc3ng_minmodels "1"         // Enable (1 default) or Disable (0) minmodels check.


// Items
uwc3ng_boots "0.10"         // Percentage increase given by boots (.10 = 10%, default is 0.10)
uwc3ng_claw "6"            // Damage done by Claws of Attack (default is 6)
uwc3ng_cloak "150"         // Invisibility given with cloak, lower is more invisible (default is 150)
uwc3ng_mask "0.3"            // Percentage of life gained back by mask of death (default is 0.3)
uwc3ng_frost "125"         // Speed of victim when attacked with Orb of Frost (default is 125.0)
uwc3ng_health "15"         // Health bonus given for periapt of health (default is 15)
uwc3ng_glove_timer "10"         // Interval between receiving a new grenade with the Flaming Gloves of Warmth (default is 10)
uwc3ng_tome "60"            // XP given for purchasing tome of experience (default is 60)
uwc3ng_sock "0.5"            // Gravity level for Sock of the Feather (default is 0.5)


// XP options
uwc3ng_save_xp "1"         // Enable (1) or Disable (0) Saved XP


// XP modifiers
uwc3ng_xp_for_level "5000"       // Default XPs for every level
uwc3ng_min_players "2"         // Minimum amount of players needed b4 awarding XP (default is 4)
uwc3ng_xpmultiplier "1.0"         // Multiple all xps with this value
uwc3ng_startlevel "2"         // Defines the startlevel of each player if he connects to the server


// Bots
uwc3ng_ignore_bots "0"         // 0 = ignore no bots, 1 = ignore bots
uwc3ng_bot_startlevel "0"      // Defines the startlevel of a bot if he connects to the server (default 0)
uwc3ng_bot_buy_item "0.33"      // A percentage chance to buy every spawn an item

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 10:39
od Qefik
Příště configy co tagů CODE.

Je to jednoduché, máš nastaveno, že se mají XP ukládat do MySQL databáze, kterou nemáš, respektive ji nemáš nastavenou. Nejjednodušší je ukládání pomocí NValut, takže si nastav

Kód: Vybrat vše

// Where should we save the XP's then?
uwc3ng_savexp_sql "2"         // 0 = MySQL, 1 = SQLITE, 2 = NVault

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 10:58
od GameMan
Ano, omlouvám se, ale když sem to měl nastaveno na NVault tak mě to vypne server a píše "Stav:Spuštěný ale proces neběží" a server nefunguje.

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 11:45
od Qefik
Co ti to píše v konzoli za chybu? Zkus tedy ještě nastavit na SQLITE.

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 11:53
od GameMan
Píše to: "Nepodařilo se připojit ke konzoli serveru" a "Connection closed..." píše NVault a když dám sqlite tak to píše: "L 07/28/2014 - 11:51:44: [uwc3ng.amxx] [SQLITE] Database Connection Failed: [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 14:40
od Qefik
Povol mi prosím přístup do CP, nejlépe plná práva (spolumajitel), nick tam mám stejný jako zde na fóru.

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 14:44
od vincent
ok máš nastaveno

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 14:48
od Qefik
Vincent, piš prosím do svých témat. Díky.

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 15:03
od GameMan
Máš všechna práva.

Re: Problém s XP: War3Ultimate

Napsal: 28 črc 2014, 22:38
od Qefik
Zatím jsem na nic nepřišel, ale základní instalace W3 funguje bezproblémově a co jsem koukal, tak tam není skoro žádný rozdíl. Zítra se na to ještě podívám a třeba na něco přijdu.