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

The Forgotten Server v0.3.1[pl2] (Crying Damson)

Status
Not open for further replies.
But When I add line with charges to items.xml, rune don't lose charges, and without this line the same.
 
But When I add line with charges to items.xml, rune don't lose charges, and without this line the same.

You have to do restart serwer. Dont use command /reload items. Because I think it doesn't work.
 
I know! But it don't work!

Sorry, delete my post in this theard, because runes work with charges in items.xml, but notepade++ don't save file items.xml...
 
Last edited by a moderator:
I'm killing first arena monster, and the script still thinks that I didn't.
 
@up

I agree :| I just checked it and have same problem :/
there is no errors in console :| someone know whats wrong? on beta 3 all working good
 
I'm killing first arena monster, and the script still thinks that I didn't.

it's ur login.lua problem
insert this into ur data/creaturescripts/scripts/login.lua
Code:
function onLogin(cid)


	
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
			doPlayerSetLossPercent(cid, i, getConfigValue('deathLostPercent'))
		end
	end
	
    registerCreatureEvent(cid, "PlayerKill")
    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) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena  

	
    if(InitShopComunication == 0) then
	local eventServ = addEvent(sql_communication, SQL_COMUNICATION_INTERVAL, {})
        local historyPage = addEvent(historyPage, 60000, {})
	InitShopComunication = eventServ
    end
    registerCreatureEvent(cid, "PlayerDeath")
    return TRUE

end
then open server.
 
okay...i have this huge problem and really need help SO DONT IGNORE ME PLZ!!

1:
Why are there 2 config files? .lua and .lua~

2: THE IMPORTANT ONE!!:
When i want to make it connect i get this error: (with gesiors acc maker)

STEP 1
Check server configuration

Warning: Error parsing C:/Users/Jaroen/Desktop/Xenion/config.lua on line 126 in C:\Users\Jaroen\Desktop\Xenion\Xampp\htdocs\install.php
on line 150
File config.lua loaded from C:/Users/Jaroen/Desktop/Xenion/config.lua and it's not valid TFS config.lua file.
Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.

please help me,

Yours, Jaroen2
 
okay...i have this huge problem and really need help SO DONT IGNORE ME PLZ!!

1:
Why are there 2 config files? .lua and .lua~

2: THE IMPORTANT ONE!!:
When i want to make it connect i get this error: (with gesiors acc maker)

STEP 1
Check server configuration

Warning: Error parsing C:/Users/Jaroen/Desktop/Xenion/config.lua on line 126 in C:\Users\Jaroen\Desktop\Xenion\Xampp\htdocs\install.php
on line 150
File config.lua loaded from C:/Users/Jaroen/Desktop/Xenion/config.lua and it's not valid TFS config.lua file.
Go to STEP 1 - select other directory. If it's your config.lua file from TFS contact with acc. maker author.

please help me,

Yours, Jaroen2

first one propably elf edited it on linux second one it's not gesior acc maker thread and go there with it propably u have configured somthing wrong ...
 
What is the pass for gm acc ? cuz I cannot find the players file. Or am I suppost to make my own ?
 
it's ur login.lua problem
insert this into ur data/creaturescripts/scripts/login.lua
Code:
function onLogin(cid)


	
	local loss = getConfigValue('deathLostPercent')
	if(loss ~= nil) then
		for i = PLAYERLOSS_EXPERIENCE, PLAYERLOSS_ITEMS do
			doPlayerSetLossPercent(cid, i, getConfigValue('deathLostPercent'))
		end
	end
	
    registerCreatureEvent(cid, "PlayerKill")
    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) -- did not arena level
    end
    setPlayerStorageValue(cid, 42350, 0) -- time to kick 0
    setPlayerStorageValue(cid, 42352, 0) -- is not in arena  

	
    if(InitShopComunication == 0) then
	local eventServ = addEvent(sql_communication, SQL_COMUNICATION_INTERVAL, {})
        local historyPage = addEvent(historyPage, 60000, {})
	InitShopComunication = eventServ
    end
    registerCreatureEvent(cid, "PlayerDeath")
    return TRUE

end
then open server.


I've copied whole login.lua from beta3 so that should work ;s if it did at beta3
 
Thanks too much
but i have some problems with the gate of exp...
 
You didn't remove the Cleaning items from houses bug :/

just tested it works normally with binary saving house items . This not changing fact that I didn't tested with normal but i'm almost sure that this is not a bug.
 
just tested it works normally with binary saving house items . This not changing fact that I didn't tested with normal but i'm almost sure that this is not a bug.

This is a bug.
I'm to lazy to wrote it in english ;s



PL:
Słuchaj to jest tak:
Za pierwszym razem jak odpalam silnik (miałem wcześniej otsa z tfs 0.2 więc oczywiście baza danych starsza), ale jak za 1 razem odpalam silnik to on upgraduje bazę danych na luzie i wszystko działa itp. nic nie usuwa, natomiast jeśli jest jakiś crahs np. po 20 h uptimu to podczas następnego włączania OTSa ten znowu upgraduje bazę danych i tym razem usuwa itemki.
Ja jeszcze później zrobię coś takiego, że sobie zgram tylko tę pojedyńczą tabelę w której są itemki przechowywane i wgram ją do aktualnej bazy danych, jednak nie mam zamiaru tak robić po każdym crashu :/
 
This is a bug.
I'm to lazy to wrote it in english ;s



PL:
Słuchaj to jest tak:
Za pierwszym razem jak odpalam silnik (miałem wcześniej otsa z tfs 0.2 więc oczywiście baza danych starsza), ale jak za 1 razem odpalam silnik to on upgraduje bazę danych na luzie i wszystko działa itp. nic nie usuwa, natomiast jeśli jest jakiś crahs np. po 20 h uptimu to podczas następnego włączania OTSa ten znowu upgraduje bazę danych i tym razem usuwa itemki.
Ja jeszcze później zrobię coś takiego, że sobie zgram tylko tę pojedyńczą tabelę w której są itemki przechowywane i wgram ją do aktualnej bazy danych, jednak nie mam zamiaru tak robić po każdym crashu :/

try do like that open config.lua set
useHouseDataStorage = "no"
then open server when u have all items in houses ofc
then
open config and set
useHouseDataStorage = "yes"
/reload config
/save
close server and open it again and see if the error will exist in future.
 
Can't make GM. Using SQLite administrator for making it and it allways worked well. Made an account, but when I login it just shows account manager, there's no GM... Tryed everything, don't know what to do. Any ideas?
 
Status
Not open for further replies.
Back
Top