• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Poszukuje skryptera i programisty

Wes mi daj Jakiegos tfs pod 8.5 tylko nie 0.2.4 bo mam a chce najlepiej 0.3.1
 
Ej, wes, nie!

Gosciu, znajdz sobie to co potrzebujesz sam. Skoro Pieta czy ktos inny potrafi(l) to znalezc to ty tez (teoretycznie) powinienes dac rade.
 
Wiem ;p tylko ze ja jestem newbie w tych sprawach ;p

A skoro juz jestes to pomozesz w czyms prosze
Chce zeby Powergamers stats wspolpracowalo z skryptami by gesior
nie wiem jak dodac do login.lua bo tam mnostwo innych skryptow
jak dodaje na koncu to na stronce caly czas pisze ze 0 godzin gra a siedzialem z 1h pokazuje tylko expa a online godzin nie

Login lua Zawartosc

Code:
OLD_LEVELS = {}
mshield = {}
function onLogin(cid)
	if getPlayerStorageValue(cid,STORAGEVALUE_NEXT_REGEN_CHECK) == -1 then
		setPlayerStorageValue(cid,STORAGEVALUE_NEXT_REGEN_CHECK,0)
	end
	if getPlayerStorageValue(cid, 1339) == 1 then
		setPlayerStorageValue(cid, 1339, 0)
		setPlayerStorageValue(cid, 1338, 0)
	end
	if getPlayerLevel(cid) < 8 then 
		doPlayerSendTextMessage(cid, 22, "Witaj na Debestii. Jestes teraz na rooku. Kiedy wbijesz 8 level zostaniesz przeniesiony na maina do miasta Kiobios.")
	end
	if getPlayerStorageValue(cid, 9995) ~= 1 and (getPlayerVocation(cid) == 15 or getPlayerVocation(cid) == 16) then
		setPlayerStorageValue(cid, 9995, 1)
		doPlayerAddOutfit(cid, 142, 1)
		doPlayerAddOutfit(cid, 134, 1)
		doPlayerAddOutfit(cid, 142, 2) 
        doPlayerAddOutfit(cid, 134, 2) 
	end
	
	if (InitArenaScript ~= 0) then
	InitArenaScript = 1
	-- make arena rooms free
		for i = 42300, 42309 do
			setGlobalStorageValue(i, 0)
			setGlobalStorageValue(i+100, 0)
		end
	end
	-- if he did not make full arena 1 he must start from zero
	if getPlayerStorageValue(cid, 42309) < 1 then
		for i = 42300, 42309 do
			setPlayerStorageValue(cid, i, 0)
		end
	end
	-- if he did not make full arena 2 he must start from zero
	if getPlayerStorageValue(cid, 42319) < 1 then
		for i = 42310, 42319 do
			setPlayerStorageValue(cid, i, 0)
		end
	end
	-- if he did not make full arena 3 he must start from zero
	if getPlayerStorageValue(cid, 42329) < 1 then
		for i = 42320, 42329 do
			setPlayerStorageValue(cid, i, 0)
		end
	end
	if getPlayerStorageValue(cid, 42355) == -1 then
		setPlayerStorageValue(cid, 42355, 0) -- zrobil level areny
	end
	setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
	setPlayerStorageValue(cid, 42352, 0) -- is not in arena
	
	registerCreatureEvent(cid, "PlayerKill")
	registerCreatureEvent(cid, "PlayerDeath")
	registerCreatureEvent(cid, "PlayerThink")
	return TRUE
end

Jakbys mogl to napisz na gg i wytlumczysz mi to moej gg 12525336 a jak nie to pomoz chociarz tutaj :) Ip servera 87.98.216.216 sam zobacz

jak usunolem all z login lua i wkleilem tylko powegeramers stats dzialalo ale ja chce te skrypty by gesior bo sie przydadza :)
 
Jeszcze jeden taki blad

Code:
Lua Script Error: [Action Interface]
data/actions/scripts/other/skull remove.lua:onUse

data/actions/scripts/other/skull remove.lua:5: attempt to call global 'doCreatureSetSkullType' (a nil value)
stack traceback:
        data/actions/scripts/other/skull remove.lua:5: in function <data/actions/scripts/other/skull remove.lua:1>
 
to to ja tez wiem ze nie mam tego creature skull tuype ale Co innego wpisac?
 
@UP:

doCreatureSetBrain(getPlayerByName("Lolek"), false)
 
Back
Top