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

[8.60] The Forgotten Server 0.3.6 (Crying Damson) V8

hey dude what u mean with v.2.5
''Added Military Ranks''
what is this thing?

explain plx

You can found it at mods folder, its simple whne you look on a player for example: You see Tfs level8 druid, ranked newbie. How higher he gets then he get new rank. You can change the rank name at the mods folder you will see military ranks!

Where i need to put sources folder ?

You dont need put source folder, source means that you edit the egine with new scripts. You dont need source if you dont know what c++ is.
 
Nice to hear, i seen your website and server and i recommend them :)
 
Dude.. This server is quite buggy. For example. When I use potions in stacks (more than 1) all of them turns into vials... I rather use the 8.54 version without stackable pots. Geez
 
I have a little problem with this server, when a player opens skull, and another tries to attack, you can only attack him after a moment or after a hit.
 
Compiling on debian 6:

o
g++ -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/lua5.1 -D__USE_MYSQL__ -D__ENABLE_SERVER_DIAGNOSTIC__ -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT otserv.o -MD -MP -MF .deps/otserv.Tpo -c -o otserv.o otserv.cpp
otserv.cpp: In function ‘std::string getGlobalIP()’:
otserv.cpp:252:5: error: ‘WSADATA’ was not declared in this scope
otserv.cpp:252:13: error: expected ‘;’ before ‘wsaData’
otserv.cpp:254:32: error: ‘MAKEWORD’ was not declared in this scope
otserv.cpp:254:36: error: ‘wsaData’ was not declared in this scope
otserv.cpp:254:43: error: ‘WSAStartup’ was not declared in this scope
otserv.cpp:257:5: error: ‘SOCKET’ was not declared in this scope
otserv.cpp:257:12: error: expected ‘;’ before ‘s’
otserv.cpp:258:5: error: ‘HOSTENT’ was not declared in this scope
otserv.cpp:258:14: error: ‘host’ was not declared in this scope
otserv.cpp:260:5: error: ‘SOCKADDR_IN’ was not declared in this scope
otserv.cpp:260:17: error: expected ‘;’ before ‘sin’
otserv.cpp:261:28: error: ISO C++ forbids applying ‘sizeof’ to an expression of function type [-fpermissive]
otserv.cpp:261:31: error: invalid conversion from ‘double (*)(double)throw ()’ to ‘void*’ [-fpermissive]
/usr/include/string.h:65:14: error: initializing argument 1 of ‘void* memset(void*, int, size_t)’ [-fpermissive]
otserv.cpp:263:9: error: request for member ‘sin_family’ in ‘sin’, which is of non-class type ‘double(double)throw ()’
otserv.cpp:264:9: error: request for member ‘sin_addr’ in ‘sin’, which is of non-class type ‘double(double)throw ()’
otserv.cpp:265:9: error: request for member ‘sin_port’ in ‘sin’, which is of non-class type ‘double(double)throw ()’
otserv.cpp:267:16: error: ‘s’ was not declared in this scope
otserv.cpp:267:53: error: ISO C++ forbids applying ‘sizeof’ to an expression of function type [-fpermissive]
otserv.cpp:267:59: error: ‘SOCKET_ERROR’ was not declared in this scope
otserv.cpp:271:71: error: ‘WSAGetLastError’ was not declared in this scope
otserv.cpp:281:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
otserv.cpp:285:16: error: ‘closesocket’ was not declared in this scope
otserv.cpp:278:13: warning: unused variable ‘iplength’ [-Wunused-variable]
otserv.cpp:290:63: error: ‘WSAGetLastError’ was not declared in this scope
make[1]: *** [otserv.o] Błąd 1
make[1]: Opuszczenie katalogu `/home/diow/Source'
make: *** [all] Błąd 2
Anyone help? I think otserv.cpp is corrupted.
 
I have a little problem with this server, when a player opens skull, and another tries to attack, you can only attack him after a moment or after a hit.

Search at config for:
Code:
loginProtectionPeriod = 10 * 1000

and change to this:
Code:
loginProtectionPeriod = 1* 60
 
Dude.. This server is quite buggy. For example. When I use potions in stacks (more than 1) all of them turns into vials... I rather use the 8.54 version without stackable pots. Geez
its your script. i dont have that problem not on 2.5 and 3.0
 
I use this script to potions and it works fine for me. :)

Code:
local config = {
	removeOnUse = "no",
	usableOnTarget = "yes", -- can be used on target? (fe. healing friend)
	splashable = "no",
	realAnimation = "no", -- make text effect visible only for players in range 1x1
	healthMultiplier = 1.0,
	manaMultiplier = 1.0
}
 
config.removeOnUse = getBooleanFromString(config.removeOnUse)
config.usableOnTarget = getBooleanFromString(config.usableOnTarget)
config.splashable = getBooleanFromString(config.splashable)
config.realAnimation = getBooleanFromString(config.realAnimation)
 
local POTIONS = {
	[8704] = {empty = 7636, splash = 2, health = {50, 100}}, -- small health potion
	[7618] = {empty = 7636, splash = 2, health = {100, 200}}, -- health potion
	[7588] = {empty = 7634, splash = 2, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8, 11, 12}, vocStr = "knights and paladins"}, -- strong health potion
	[7591] = {empty = 7635, splash = 2, health = {500, 700}, level = 80, vocations = {4, 8, 12}, vocStr = "knights"}, -- great health potion
	[8473] = {empty = 7635, splash = 2, health = {800, 1000}, level = 130, vocations = {4, 8, 12}, vocStr = "knights"}, -- ultimate health potion
 
	[7620] = {empty = 7636, splash = 7, mana = {70, 130}}, -- mana potion
	[7589] = {empty = 7634, splash = 7, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7, 9, 10 ,11}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion
	[7590] = {empty = 7635, splash = 7, mana = {200, 300}, level = 80, vocations = {1, 2, 5, 6, 9, 10}, vocStr = "sorcerers and druids"}, -- great mana potion
 
	[8472] = {empty = 7635, splash = 3, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7, 11}, vocStr = "paladins"} -- great spirit potion
}
 
local exhaust = createConditionObject(CONDITION_EXHAUST)
setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100))
 
function onUse(cid, item, fromPosition, itemEx, toPosition)
	local potion = POTIONS[item.itemid]
	if(not potion) then
		return false
	end
 
	if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then
		if(not config.splashable) then
			return false
		end
 
		if(toPosition.x == CONTAINER_POSITION) then
			toPosition = getThingPos(item.uid)
		end
 
		doDecayItem(doCreateItem(2016, potion.splash, toPosition))
		doTransformItem(item.uid, potion.empty)
		return true
	end
 
	if(hasCondition(cid, CONDITION_EXHAUST_HEAL)) then
		doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED)
		return true
	end
 
	if(((potion.level and getPlayerLevel(cid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(cid)))) and
		not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES))
	then
		doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1)
		return true
	end
 
	local health = potion.health
	if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.healthMultiplier))) then
		return false
	end
 
	local mana = potion.mana
	if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.manaMultiplier))) then
		return false
	end
 
	doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE)
	if(not realAnimation) then
		doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1)
   	        setPlayerStorageValue(cid, 21066, getCreatureStorage(cid, 21066) + 1)
	else
		for i, tid in ipairs(getSpectators(getCreaturePosition(cid), 1, 1)) do
			if(isPlayer(tid)) then
				doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid)
			end
		end
	end
 
	doAddCondition(cid, exhaust)
	if(not potion.empty or config.removeOnUse) then
		doRemoveItem(item.uid, 1)
		return true
	end
	doRemoveItem(item.uid, 1)
	doPlayerAddItem(cid, potion.empty, 1)
    pot_count = getPlayerItemCount(cid, potion.empty)
    doPlayerRemoveItem(cid, potion.empty, pot_count)
	return true
	end
 
I seen that Ganjaland.net use my distor 3.0 and the uptime is incredible: Uptime: 42h 38m
 
Im useing this .exe with my server but once the server is online for about 5 mins the server just crashs anyknow what the problem could be?
 
and i get this error [13/02/2012 20:33:35] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: z_ots_comunication (SELECT * FROM z_ots_comunication WHERE "type" = 'login';)
 
its your script. i dont have that problem not on 2.5 and 3.0
I haven't added any scripts.. I thought it was my scripts first so I downloaded the server from scratch, started it and it was still the same problem.
 
Okay I managed to fix the potion system with some other script I found. And now I noticed that some items are just.. weird. Spears/stars do not remove charges, even if I add the line in items.xml.
 
up@
config file?

As teddy said:

removeWeaponAmmunition = true <-- change to true if you want it remove charges!
removeWeaponCharges = true <-- change to true if you want it remove charges!
removeRuneCharges = true <-- change to true if you want it remove charges!
 
As teddy said:

removeWeaponAmmunition = true <-- change to true if you want it remove charges!
removeWeaponCharges = true <-- change to true if you want it remove charges!
removeRuneCharges = true <-- change to true if you want it remove charges!

removeWeaponAmmunition = true
removeWeaponCharges = true
removeRuneCharges = true

And still doesn't remove charges. Don't you think I looked in config file first? Now what, genius?
 
You got only the problems i tested the server and everything works 100%
 
removeWeaponAmmunition = true
removeWeaponCharges = true
removeRuneCharges = true

And still doesn't remove charges. Don't you think I looked in config file first? Now what, genius?

it must be your computer genius :) stop downloading gay porn
 
Back
Top