Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
Da sie funckja getPlayerIp(cid)
mniej wiecej cos takiego:
function onKill(cid, target)
if(isPlayer(target) == TRUE) then
if getPlayerIp(cid) == getPlayerIp(target) then
doPlayerSendCancel(cid, "Detected the same ip, not added experience!")
else
gainExp = (getPlayerLevel(target) * 25100.50)...
It is possible to write the following functions:
setPlayerMagicLevel(cid, maglvl)
to alter the Magic Level of the player so I want
Example: setPlayerMagicLevel(cid, 25)
Czesc, mam pewien problem chce żeby z danej bazy wyciągnięte informacje pokazywały się jeden za drugim,
przykład:
local baza1 = db.getResult("SELECT `item` FROM `test` WHERE `ids` = 10 ; ")
local iditem = baza1:getDataInt('item')
W tabeli mam np 10 x item o rożnych numerach, każdy ma...
no to spróbuje, zobaczymy czy pomoże x)
Pozdro.
Edit: Jaki system polecacie ? teraz mam Debian 5.0 (Lenny) może jest coś wydajniejszego, lepszego pod OTS ?, miałem tez Ubuntu ale zostałem przy Debianie
Serwer działa normalnie przez powiedzmy 4h i potem tak nagle te obciązenie..
Mapa 18MB, graczy 100, Athlon LE 1660 2.8 GB 64Bit, 2GB ramu, Debian, (XL z KImsufi)
Obciążenia przy normalnej pracy (bez lagow, save 0.544 sek)