• 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!

Gesior ACC problem (fixed), first items/samples not work(fixed)-close

Wiw3K

New Member
Joined
Apr 16, 2008
Messages
371
Reaction score
3
i create acc and everything works, create character then and this error appear

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1436 Thread stack overrun: 6804 bytes used of a 131072 byte stack, and 128000 bytes needed. Use 'mysqld -O thread_stack=#' to specify a bigger stack.' in /var/www/pot/OTS_Player.php:187 Stack trace: #0 /var/www/pot/OTS_Player.php(187): PDO->query('INSERT INTO `pl...') #1 /var/www/accountmanagement.php(799): OTS_Player->save() #2 /var/www/index.php(130): include('/var/www/accoun...') #3 {main} thrown in /var/www/pot/OTS_Player.php on line 187
character is added to database and i can log on it but this error appear :(

-edit-
error fixed i had to change in /etc/mysql/my.cnf - thread_stack = 128 -> 256
 
Last edited:
@bump
help

i have another problem, if i log on newly created character, char have nothing on it , its empty o_O i have FirstItems.lua + samples and nothing works...

maybe its the script?
here is script by me
Code:
--First Items by Wiw3K
local playerVoc = getPlayerVocation(cid)

function onLogin(cid)
	if getPlayerStorageValue(cid, 30001) <= 0 then
		if playerVoc == 1 or playerVoc == 5 then --If Vocation is Sorcerer or Master Sorcerer
			doPlayerAddItem(cid, 2457, 1) --steel helmet
			doPlayerAddItem(cid, 2463, 1) --plate armor
			doPlayerAddItem(cid, 2190, 1) --wand of vortex
			doPlayerAddItem(cid, 2525, 1) --dwarven shield
			doPlayerAddItem(cid, 2647, 1) --plate legs
			doPlayerAddItem(cid, 2643, 1) --leather boots
			doPlayerAddItem(cid, 2120, 1) --rope
			local backpacksorek = doPlayerAddItem(cid, 1988, 1)
			doAddContainerItem(backpacksorek, 2554, 1) --shovel
			doAddContainerItem(backpacksorek, 2152, 2) --2 platinum coins
			setPlayerStorageValue(cid, 30001, 1)

		elseif playerVoc == 2 or playerVoc == 6 then --If Voc == Druid or Elder Druid
			doPlayerAddItem(cid, 2457, 1) --steel helmet
			doPlayerAddItem(cid, 2463, 1) --plate armor
			doPlayerAddItem(cid, 2182, 1) --snakebite rod
			doPlayerAddItem(cid, 2525, 1) --dwarven shield
			doPlayerAddItem(cid, 2647, 1) --plate legs
			doPlayerAddItem(cid, 2643, 1) --leather boots
			doPlayerAddItem(cid, 2120, 1) --rope
			local backpackdruid = doPlayerAddItem(cid, 1988, 1)
			doAddContainerItem(backpackdruid, 2554, 1) --shovel
			doAddContainerItem(backpackdruid, 2152, 2) --2 platinum coins
			setPlayerStorageValue(cid, 30001, 1)

		elseif playerVoc == 3 or playerVoc == 7 then --If Voc == Paladin or Royal Paladin
			doPlayerAddItem(cid, 2457, 1) --steel helmet
			doPlayerAddItem(cid, 2463, 1) --plate armor
			doPlayerAddItem(cid, 2389, 1) --spear
			doPlayerAddItem(cid, 2525, 1) --dwarven shield
			doPlayerAddItem(cid, 2647, 1) --plate legs
			doPlayerAddItem(cid, 2643, 1) --leather boots
			doPlayerAddItem(cid, 2120, 1) --rope
			local backpackdruid = doPlayerAddItem(cid, 1988, 1)
			doAddContainerItem(backpackdruid, 2554, 1) --shovel
			doAddContainerItem(backpackdruid, 2152, 2) --2 platinum coins
			setPlayerStorageValue(cid, 30001, 1)

		elseif playerVoc == 4 or playerVoc == 8 then --If Voc == Knight or Elite Knight
			doPlayerAddItem(cid, 2457, 1) --steel helmet
			doPlayerAddItem(cid, 2463, 1) --plate armor
			doPlayerAddItem(cid, 2482, 1) --orcish axe
			doPlayerAddItem(cid, 2525, 1) --dwarven shield
			doPlayerAddItem(cid, 2647, 1) --plate legs
			doPlayerAddItem(cid, 2643, 1) --leather boots
			doPlayerAddItem(cid, 2120, 1) --rope
			local backpackdruid = doPlayerAddItem(cid, 1988, 1)
			doAddContainerItem(backpackdruid, 2554, 1) --shovel
			doAddContainerItem(backpackdruid, 2152, 2) --2 platinum coins
			setPlayerStorageValue(cid, 30001, 1)
		end
	end

 	return TRUE
end

but why gesior samples doesnt work o_O?

--edit--
i did installataion gesior's again and everything works nvm
 
Last edited:
Back
Top