Bounty Hunter System

Status
Zamknięty.
Odp: Bounty Hunter System

12:47 [BOUNTY HUNTERS] This player doesn't exists.

Wszystko ejst ok ale jak chcem ustalic cene za gracza wyskakuje to co moze byc nie tak ??
 
Odp: Bounty Hunter System

skrypt dobry ale czy sam wpadles na ten pomysl??:> jak tak to gratulacje 10/10
 
Odp: Bounty Hunter System

super tylko ze zrobilem wszystko to co potrzebne jest na strone ! i nie dziala nie ma tabeli Bounty hunters
 
Odp: Bounty Hunter System

Znajcie ?ask? pana...
PHP:
--by Keraxel // for otland.net.pl
function onKill(cid, target)
	if isPlayer(target) == TRUE then
    	local result = db.getResult("SELECT * FROM `bounty_hunters` WHERE `sp_id` = ".. getPlayerGUID(target) .." AND `killed` = 0;")
    	local prize = 0
    	local bid = 0
    	if result:getID() ~= LUA_ERROR then
    		prize = tonumber(result:getDataInt("prize"))
    		bid = tonumber(result:getDataInt("id"))
			result:free()
    	end
		if bid ~= 0 and prize ~= 0 and not(getTileInfo(getCreaturePosition(cid)).pvp) then
			local k_id = getPlayerGUID(cid)
    		db.executeQuery("UPDATE `bounty_hunters` SET `killed` = 1, `k_id`=".. k_id ..", `kill_time` = ".. os.time() .." WHERE `id`  = ".. bid ..";")
			doPlayerAddMoney(cid, prize * 1000)
			doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[BOUNTY HUNTERS] You killed hunted player, so you gained the reward!")
		end
	end
	return TRUE
end
 
Ostatnia edycja:
Odp: Bounty Hunter System

To jest dok?adnie to samo, co ja napisa?em ... ;] wi?c nie wiem w czym problem. Dok?adnie napisa?em: TFS 0.3.2. Wszystkim na OTlandzie jako? dzia?a, wi?c... :X
 
Odp: Bounty Hunter System

Skrypt Bajeczny Wielkie THX 10/10

A czy jest mo?liwo?? zrobienia dodatkowej komendy do tego ?e np pisz?

!hunted

I mi si? wy?wietla kto ma hunta i za ile..
Ale chodzi mi w grze ?eby wy?wietli?o si? takie same okienko jak na nowym tfs przy /serverinfo


Da?o by si? zrobi? ??? :D :up::up::up:



PoZdro
 
Odp: Bounty Hunter System

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\bounty-hunters.php on line 44


Jak to naparwic?
 
Odp: Bounty Hunter System

Skrypcik jest bardzo fajny! Bardzo podobny jest na Slaskim (SlaskiOTS - Latest News).
Og?lnie to oceniam to na spx 9,5/10 :o

Oczywi?cie to znaczy ?e u?yje go na swoim otsie ;)
 
Odp: Bounty Hunter System

Po 1 nawet tego skryptu nie u?y?e? poniewa? wyskakuje na nim oko?o 6 error z czego 5 naprawi?em i zosta? mi ten:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\bounty-hunters.php on line 44

Wszystko wygl?da normalnie i nie wiem po co sapie ten MySQL :mad:
 
Odp: Bounty Hunter System

[28/06/2009 14:55:53] data/talkactions/scripts/bounty.lua:13: attempt to index global 'db' (a nil value)
[28/06/2009 14:55:54] stack traceback:
[28/06/2009 14:55:54] data/talkactions/scripts/bounty.lua:13: in function <data/talkactions/scripts/bounty.lua:1>
???
 
Ostatnia edycja:
Odp: Bounty Hunter System

M?wi?em, TFS 0.3+!

The Forgotten Server 0.2 nie dzia?a, nie chce mi si? przerabia? silnika do tej wersji, za d?ugo by to trwa?o. ;)
 
Odp: Bounty Hunter System

Super bior? si? do pracy i se To dodam, oby dzia?a?o :D
 
Odp: Bounty Hunter System

Kod:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\bounty-hunters.php on line 44

Wyskakuje mi taki b??d nad istniej?c? ju? stronk? z bounty hunters otwartym. Wszystko dzia?a tylko jak to wyeliminowa??

/Edit
Ju? naprawi?em. Po prostu zapomnia?em doda? do db SQL 1
Kod:
 
Ostatnia edycja:
Odp: Bounty Hunter System

Skrypt poszukiwany przez du?? ilo?? os?b tak jak i prze zemnie (dzieki) u mnie dzia?a w 100%
moja ocena to 10/10 pozdrawiam

ps:skrypt godny uwagi;)
 
Odp: Bounty Hunter System

BUMP ^^ <znaki>

@down
Zmieni?y, mo?e. Ale raczej dzia?a skrypt, bo m?j Guild Wars dzia?a perfekcyjnie... =d
 
Ostatnia edycja:
Odp: Bounty Hunter System

[20/07/2009 18:45:43] Lua Script Error: [CreatureScript Interface]
[20/07/2009 18:45:43] data/creaturescripts/scripts/playerdeath.lua:onDeath

[20/07/2009 18:45:43] data/creaturescripts/scripts/playerdeath.lua:7: attempt to index global 'luasql' (a nil value)
[20/07/2009 18:45:43] stack traceback:
[20/07/2009 18:45:43] data/creaturescripts/scripts/playerdeath.lua:7: in function <data/creaturescripts/scripts/playerdeath.lua:3>

TFS 0.3.4. -> Nie dosta?em nagrody. WTH?:curse:
 
Odp: Bounty Hunter System

Otw?rz plik kill.lua, b?d? go stw?rz w creaturescripts/scripts
wklej do niego
Nie playerdeath =x Nie ma u mnie ?ADNEJ WZMIANKI o playerdeath!
 
Status
Zamknięty.
Back
Do góry