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

[9.20 - 9.31] The Forgotten Server v0.2.11pl2 (Mystic Spirit) - WarSystem + Extras

Status
Not open for further replies.
How do I add a mod system to this? I copy/pasted a mod folder from an 8.54 TFS, but it will not apply, can you explain how to do it?
 
* Added bledding condition

missed in global.lua as condition

otserv.cpp
case COMBAT_BLEEDDAMAGE:
{
hitEffect = NM_ME_DRAW_BLOOD;
break;
}

so its only attack type? Not like condition???
 
Oh, finally an OTS that works for me!

Question~
I like to play "offline", playing all alone... but problem is - where are the NPC's?!
plus, is it possible to alter my character stats / create a gm?
In older OTS I could, but it doesn't seem possible here.

thanks for answering :)
 
Oh, finally an OTS that works for me!

Question~
I like to play "offline", playing all alone... but problem is - where are the NPC's?!
plus, is it possible to alter my character stats / create a gm?
In older OTS I could, but it doesn't seem possible here.

thanks for answering :)

NPCs - data->npc
Creating GMs -> change type of player(where is your player name in database) to 3 and you will be GOD
 
NPCs - data->npc
Creating GMs -> change type of player(where is your player name in database) to 3 and you will be GOD

Well, I believe I sound like a total noob, and I am... and I'm sorry ahead.
I opened the npc folder, and I really have no idea how to set them on the map. I read somewhere I need a map editor? Anyway, downloading one.

How do I find my player database?
 
in next rev .. complete the bleed system ZUP ... and add other fix oka possible 2 days
 
well bleeding condition is not 100% working?
 
Well, I believe I sound like a total noob, and I am... and I'm sorry ahead.
I opened the npc folder, and I really have no idea how to set them on the map. I read somewhere I need a map editor? Anyway, downloading one.

How do I find my player database?

Oh well... I can help...
You need to train your skills on map editor
1. import your NPCs to your map editor. Map editor must know what npcs you trying to place on map..
2. you must to know how to edit npc scripts to make quests, new trading npcs etc
3. scripts: You must to know how to make scripts in lua...

so i can recommend you to go tutorial section and i recommend software:
Notepad++ (i think its a best text/hex/bin/etc... editor) to edit your *.lua and *.xml scripts...
RME Map Editor (very simple for beginner and don't scare to learn all functions) its a map editor..
TFS - server(as i see your choice TFS 0.2** its my choice too i like it!! Its a most stable server what i know) Try to look in all lua functions here:
setPlayerGroupId(cid, newGroupId)
playerLearnInstantSpell(cid, name)
canPlayerLearnInstantSpell(cid, name)
getPlayerLearnedInstantSpell(cid, name)
getPlayerInstantSpellCount(cid)
getPlayerInstantSpellInfo(cid, index)
getInstantSpellInfoByName(cid, name)
getInstantSpellWords(name)
setPlayerStorageValue(uid, valueid, newvalue)
getGlobalStorageValue(valueid)
setGlobalStorageValue(valueid, newvalue)
getTilePzInfo(pos)
getTileHouseInfo(pos)
getItemRWInfo(uid)
getThingfromPos(pos)
getThing(uid)
queryTileAddThing(uid, pos, <optional> flags)
getThingPos(uid)
doRemoveItem(uid, <optional> n)
doPlayerFeed(cid, food)

doPlayerSendDefaultCancel(cid, ReturnValue)
doTeleportThing(cid, newpos, <optional> pushmove)
doTransformItem(uid, toitemid, <optional> count/subtype)
doCreatureSay(cid, text, type)
doSendMagicEffect(pos, type)
doSendDistanceShoot(frompos, topos, type)
doChangeTypeItem(uid, newtype)
doSetItemActionId(uid, actionid)
doSetItemText(uid, text)
doSetItemSpecialDescription(uid, desc)
doSendAnimatedText(pos, text, color)
doPlayerAddSkillTry(cid, skillid, n)
doCreatureAddHealth(cid, health)
doPlayerAddMana(cid, mana)
doPlayerAddManaSpent(cid, mana)
doPlayerAddSoul(cid, soul)
doPlayerAddItem(uid, itemid, <optional> count/subtype)
doPlayerAddItemEx(cid, uid, <optional: default: 0> useCidPosOnFail)
doPlayerSendTextMessage(cid, MessageClasses, message)
doPlayerRemoveMoney(cid, money)
doShowTextDialog(cid, itemid, text)
doDecayItem(uid)
doCreateItem(itemid, type/count, pos)
doCreateItemEx(itemid, <optional> count/subtype)
doTileAddItemEx(pos, uid)
doCreateTeleport(itemid, topos, createpos)
doSummonCreature(name, pos)
doConvinceCreature(cid, target)
doRemoveCreature(cid)
doMoveCreature(cid, direction)
doPlayerSetTown(cid, townid)
doPlayerSetVocation(cid,voc)
doPlayerRemoveItem(cid,itemid,count)
doPlayerAddExp(cid,exp)
doPlayerSetGuildId(cid, id)
doPlayerSetGuildRank(cid, rank)
doPlayerSetGuildNick(cid, nick)
doPlayerAddOutfit(cid,looktype,addons)
doPlayerRemOutfit(cid,looktype,addons)
doSetCreatureLight(cid, lightLevel, lightColor, time)
doSetCreatureDropLoot(cid, doDrop)
getCreatureCondition(cid, condition)
isPlayer(cid)
isCreature(cid)
isContainer(uid)
isMoveable(uid)
getPlayerByName(name)
getPlayerGUIDByName(name)
registerCreatureEvent(uid, eventName)
getContainerSize(uid)
getContainerCap(uid)
getContainerItem(uid, slot)
doAddContainerItem(uid, itemid, <optional> count/subtype)
getHouseOwner(houseid)
getHouseName(houseid)
getHouseEntry(houseid)
getHouseRent(houseid)
getHouseTown(houseid)
getHouseAccessList(houseid, listid)
getHouseByPlayerGUID(playerGUID)
setHouseAccessList(houseid, listid, listtext)
setHouseOwner(houseid, ownerGUID)
getWorldType()
getWorldTime()
getWorldLight()
getWorldCreatures(type)
getWorldUpTime()
broadcastMessage(message, type)
getGuildId(guild_name)
getPlayerSex(cid)
doPlayerSetSex(cid, newSex)
createCombatArea( {area}, <optional> {extArea} )
createConditionObject(type)
setCombatArea(combat, area)
setCombatCondition(combat, condition)
setCombatParam(combat, key, value)
setConditionParam(condition, key, value)
addDamageCondition(condition, rounds, time, value)
addOutfitCondition(condition, lookTypeEx, lookType, lookHead, lookBody, lookLegs, lookFeet)
setCombatCallBack(combat, key, function_name)
setCombatFormula(combat, type, mina, minb, maxa, maxb)
setConditionFormula(combat, mina, minb, maxa, maxb)
doCombat(cid, combat, param)
createCombatObject()
doAreaCombatHealth(cid, type, pos, area, min, max, effect)
doTargetCombatHealth(cid, target, type, min, max, effect)
doAreaCombatMana(cid, pos, area, min, max, effect)
doTargetCombatMana(cid, target, min, max, effect)
doAreaCombatCondition(cid, pos, area, condition, effect)
doTargetCombatCondition(cid, target, condition, effect)
doAreaCombatDispel(cid, pos, area, type, effect)
doTargetCombatDispel(cid, target, type, effect)
doChallengeCreature(cid, target)
numberToVariant(number)
stringToVariant(string)
positionToVariant(pos)
targetPositionToVariant(pos)
variantToNumber(var)
variantToString(var)
variantToPosition(var)
doChangeSpeed(cid, delta)
doSetMonsterOutfit(cid, name, time)
doSetItemOutfit(cid, item, time)
doSetCreatureOutfit(cid, outfit, time)
getCreatureOutfit(cid)
getCreaturePosition(cid)
getCreatureName(cid)
getCreatureSpeed(cid)
getCreatureBaseSpeed(cid)
getCreatureTarget(cid)
isItemStackable(itemid)
isItemRune(itemid)
isItemDoor(itemid)
isItemContainer(itemid)
isItemFluidContainer(itemid)
getItemName(itemid)
getItemWeight(itemid, count)
debugPrint(text)
isInArray(array, value)
addEvent(callback, delay, parameter)
stopEvent(eventid)
doPlayerPopupFYI(cid, message)
mayNotLogout(cid, value)
mayNotMove(cid, value)
doPlayerAddPremiumDays(cid, days)
doPlayerRemovePremiumDays(cid, days)
getPlayerPremiumDays(cid)
getPlayerSkullType(cid)
getPromotedVocation(vocation)
getPlayerBlessing(cid, blessing)
doPlayerAddBlessing(cid, blessing)
savePlayers()
escapeString(str)


If you got a nice skills you can make your own functions, and you can find something interesting for you in source files..


so good luck in tutorial section here is not tutorial section ;)
Links:
Lua-scripting: link
Mapping: link
Xampp(Mysql+Webserver): link
Total tutorial of Tibia server installing: link

Good Luck :p
 
On my SVN -- 30/oct -- update to revision 5
Revision: 728
Author: [email protected]
Date: 11:05:35 a.m., viernes, 28 de octubre de 2011
Message:
* Complete support (bleedingCondition system)
----
Modified : tfs_02/sources/condition.cpp
Modified : tfs_02/sources/const.h
Modified : tfs_02/sources/items.cpp
Modified : tfs_02/sources/monsters.cpp
Modified : tfs_02/sources/player.cpp
 
Oh, worry not... I know how to alter the files... I managed to do a few thigns already, without a npc.
the map editor I found wasn't good. does anybody have a link for a good, working one, that is fit with the newest version of tibia?
 
When you create a guild, you're a member, not a leader. Then once you relog, you're kicked out of the guild.
 
Hey Man, how is that you are creating the items.otb file? I want to update to this version but I need to edit item properties for 3-4 items. can you help me here? Do you have a working item editor or what is the trick??

Thanks in advance!!!!!!
 
spells.cpp:
PHP:
bool Spell::configureSpell(xmlNodePtr p)
{
	int32_t intValue;
	std::string strValue;
	if(readXMLString(p, "name", strValue))
	{
		name = strValue;
		const char* reservedList[] =
		{
			"melee",
			"physical",
			"poison",
			"fire",
			"energy",
			"drown",
			"lifedrain",
			"manadrain",
			"healing",
			"speed",
			"outfit",
			"invisible",
			"drunk",
			"firefield",
			"poisonfield",
			"energyfield",
			"firecondition",
			"poisoncondition",
			"energycondition",
			"drowncondition",
			"freezecondition",
			"cursecondition",
			"dazzlecondition"
		};

can someone give me a sourcces with 100% bleeding damage(condition)...?? please
 
i got some questions -.^

1. How do i do so the god can execute commands? [9.31]
2. How do i map to Thsi Distro? [9.31]
 
1. Look inside XML/commands.xml(open with notepad).
2. And look for RME 2.1 map editor for tibia 8.6.


Now my question to MartyX How i can use bleeding condition i don't have a variable in global.lua... So what i must put inside spells? can't understand :(:(:(:(
 
Status
Not open for further replies.
Back
Top