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

[7.72] OTDisturbed 0.1 Beta

Status
Not open for further replies.

Ezzz

Developer of Nostalrius and The Violet Project
Joined
Feb 26, 2010
Messages
1,889
Solutions
3
Reaction score
794
Location
Spain, Europe
OTDisturbed 0.1 Beta
Tibia 7.72




This server distribution is developed by RenzoTM from OTFans (me), and is based on Tryller TFS 0.2 7.6 Server source files & data.

Change Log:

Code:
======================
== OTDisturbed 7.72 ==
==    Change Log    ==
======================
== Version 0.1 Beta ==
======================
Developer Notes:
    
        This server was downloaded, tested, modified and then updated. 
        The feature on this server are yet in BETA, that means that if something happens
        you should report it to me; "RenzoTM from OTFans or Ezzz from OTLand".
        
        Have a feedback? Post it on the thread.
        Have a bugfix? Post it on the thread.
Known Bugs 0.1 = [
    Ctrl+Y Violation Banishment isn't working.
    You can't open your saved maps, you must import them. (Maybe OTB problem, someone fix it :) )
]
        
0.1  = [

        Fixed: Melee monsters can no longer use spells while fleeing. (Credits Ferrus)
        Fixed: All torches working correctly now
        Fixed: Random Crash concerning Outputmessage (waiting state)
        Removed: $$$ Animation text when transforming gold to another type
        Fixed: DeathList
        Feature: Frag System (red, yellow, green, white)
        Feature & Fixed: Unjustified Kills banishment
        Feature: Runes
        Feature: Spells
            Fixed: Fixed certain spells effects
            Removed: Exori Strikes spells no longer work as 7.8+
            Added: Exori Strikes now are old-school like
            Fixed: Light spells duration
        Feature: Blessings
        Feature: Weapons
        Feature: Armors
        Feature: Monsters
        Feature: NPCs 
            Added: Talking Delay & Long Stories
            Fixed: NPCs no longer keeps talking to a person when over 3 SQMs distance
            Fixed: NPCs now have a longer idletime (85 seconds by default)
        GameProtocol:
            Added: 7.72 Support
        Bugs:
            Banishment System by client (Ctrl+Y) doesn't seems to work
             (haven't tested comment violation banishment, only scratch dialog fill banishment.
                If you know how to fix it, a code will be greatly appreciated).
            
]

Tryller Work Changelog:
Code:
[ CHANGELOG     Project Name         The Forgotten Server       Version         0.2       Codenamed         Mystic Spirit       License         GNU GPLv3       Forum         http://otland.net/ ]   [ Features           ME = Tryller         SVN = OpenTibia SVN Developers         TFS = The Forgotten Server       [ v1         Account Manager (ME, TFS)         Updated config.lua (ME)         Much less memory used (even 1000 times less for database queries!) (SVN, TFS)         Code optimization (SVN, RFS)         GCC 4.2 compatibility (SVN)         Skull System (SVN, TFS)         Party System (SVN, TFS, ME)         Bed System (SVN, TFS)         Muted System (TFS)         Rule Violations Report system [ctrl + r] (SVN, TFS, ME)         Violation window system [ctrl + y] (SVN, ME)         Walk to item (SVN)         Magic effect displayed on air (SVN, TFS)         Wildcard~ for spells with params (SVN, TFS)         Bursts missing target (SVN, TFS)         Wands and Rods (TFS, ME)         Drunk and Paralyze System (SVN)         Creatures can move diagonally (SVN, TFS, ME)         New Lua Interface (Actions, NPCs) (TFS, ME)         Big Changes in Spells (TFS, ME)         New Decay System (SVN, TFS)         Rings and Amulets (SVN, TFS, ME)         Players can summon monsters (utevo res) (SVN)         Players can illusion creatures (utevo res ina) (SVN)         Soul Points (SVN, TFS)         Last Writer of letters (SVN, TFS, ME)         Groups to database (TFS)         Added new Formula of Armor/Defense (SVN, TFS, ME)         All posible npc's of TFS in npc folder (TFS, ME)         Guild system (TFS, ME)         Weapons (TFS, ME)         Players record system (TFS)         Save system (TFS)         Stages system (TFS)         Clean system (Xidaozu, Me)         Talkactions interface (TFS, ME)         Premium account (TFS, ME)         Raid system (SVN)         Vocations XML (SVN, TFS, ME)         AOL system (TFS)         Burst Arrows and Poison Arrows (SVN)         Exiva system (SVN, TFS)         Houses system (SVN, TFS, ME)         Protection system (TFS)         Bug report system [ctrl + z] (SVN, TFS)         Ghost system (TFS)         Critical damage (TFS, ME)         AFK system (TFS)         Experience to enforced system (TFS)         Set default priority (TFS)         Bless system (TFS)         Database struct (TFS, ME)         Highscores system (TFS)         Deathlist system (TFS)         GUI and Console executables (TFS, ME)         Added most of monsters of protocol 7.6 (ME)         Global Storage values saving in database (TFS, SVN)         onKill(cid, target) creaturescript event (TFS)         onThink creaturescript event for creatures (TFS)         Configurable commands logging (TFS)         Rewritten ban class (TFS, SVN)         Construction kits (TFS)         Thing attribute changing (TFS)         Larn spells (TFS)         Spellbook working (TFS)         Stairs are working (TFS, SVN, ME)         All fields are working (SVN, TFS, ME)     ] ]

Mapper Note: There seem to be problems with the OTB or the server itself, whenever you edit a map with the server's OTB, you can't open that map like you normally would, you will have to create a new map, and then import your saved map in order to edit it.

Download Link (Includes Binaries, Data Folder & Sources): OTDisturbed.rar - Speedy Share - upload your files here

Report bugs & crashes in this thread.
 
Change function Protocolxx::AddCreatureInvisible(...)

to

[c++]
void Protocol74::AddCreatureInvisible(NetworkMessage_ptr msg, const Creature* creature)
{
if(player->canSeeInvisibility()) {
AddCreatureOutfit(msg, creature, creature->getCurrentOutfit());
} else {
msg->AddU16(0);
msg->AddU16(0);
}
}
[/c++]

- - - Updated - - -

Can't edit my post?

Code:
void Protocol74::AddCreatureInvisible(NetworkMessage_ptr msg, const Creature* creature)
{
	if(player->canSeeInvisibility()) {
		AddCreatureOutfit(msg, creature, creature->getCurrentOutfit());
	} else {
		msg->AddU16(0);
		msg->AddU16(0);
	}
}
 
Change function Protocolxx::AddCreatureInvisible(...)

to

[c++]
void Protocol74::AddCreatureInvisible(NetworkMessage_ptr msg, const Creature* creature)
{
if(player->canSeeInvisibility()) {
AddCreatureOutfit(msg, creature, creature->getCurrentOutfit());
} else {
msg->AddU16(0);
msg->AddU16(0);
}
}
[/c++]

- - - Updated - - -

Can't edit my post?

Code:
void Protocol74::AddCreatureInvisible(NetworkMessage_ptr msg, const Creature* creature)
{
    if(player->canSeeInvisibility()) {
        AddCreatureOutfit(msg, creature, creature->getCurrentOutfit());
    } else {
        msg->AddU16(0);
        msg->AddU16(0);
    }
}

Appreciated, this patch will be included in 0.2 version, which includes many other fixes aswell.
 
nicaw not working for you distro

You might have not tested Nicaw or configured it correctly, because I did tested it, and It's the one I'm using, I'll check Gesior later on, if by some reason it needs to be updated i'll need to do a few changes.
 
If it is "crying damson" it has a lot of bugs.

- - - Updated - - -

- database loses connection with server if you logout from game you can't login.
- magic wall bug they doesn't disapear as they should. It is with fire fields ect. i think doDecay item function is fucked.
- remove vials, flasks script crashing server.(i can show you this script if you wan't) This problem has only this server
 
If it is "crying damson" it has a lot of bugs.

- - - Updated - - -

- database loses connection with server if you logout from game you can't login.
- magic wall bug they doesn't disapear as they should. It is with fire fields ect. i think doDecay item function is fucked.
- remove vials, flasks script crashing server.(i can show you this script if you wan't) This problem has only this server

Database bug I haven't experienced it, people on my server can login and logout normally with no crashes at all.
I'll take a look in magic wall and magic fields.
Remove vials, flasks script I'll take a look at it too, might be alittle bit out of date.

- - - Updated - - -

Database bug was not reproduced, everyone on my server can login and logout whenever they want with no bugs or crashes.
Magic walls & magic fields are decayingg correctly. So indeed I could not reproduce your bugs.
Flasks; show me your script, i added mine and it's working correctly.

0.2 ChangeLog:
WARNING: THIS ISN'T APPROVED BY A MODERATOR.

Code:
======================
== OTDisturbed 7.72 ==
==    Change Log    ==
======================
== Version 0.1 Beta ==
======================
Developer Notes:
    
        This server was downloaded, tested, modified and then updated. 
        The feature on this server are yet in BETA, that means that if something happens
        you should report it to me; "RenzoTM from OTFans or Ezzz from OTLand".
        
        Have a feedback? Post it on the thread.
        Have a bugfix? Post it on the thread.
0.2 = [
        Added Remere MapEditor for 7.6 with 2 new extentions.
        Utana Vid is now working correctly. ( Thanks to Ond from OTLand )
        NPC System uses now MasterCores NPC System (Jiddo's see example NPC) (want feedback)
        Ctrl+Y has been fixed. ( Thanks to Ond from OTFans )
        Wands & Rods are now working correctly.
        Weapons file is now setup for 7.6.
        Added real 7.6 Items.otb (OTB Version = 1) 
         **This was needed to do, because the server couldn't create many items, 
         **like runes, wands and afew items because of the corrupted OTB File,
          **using these will allow you to use the map editor perfectly (I didn't find any bugs)
        Fixed a few bugs i don't remember.
        Added fluids (Thanks to Avesta)
        Removed old Quest System (by MapEditor) because it wasn't working and I couldn't fix it, if you have a fix, share it with the community <3
        Added quest_template.lua
        Lifefluid subtype is 10 not 8 !! (This is a bug on RME saying Lifefluid is 8)
        Stability Check ran for 1 hour with 6 friends online with no crashes. If you experience a crash share it.
        Runes no longer has a level requirement.
        Spells no longer need to be learned. (needlearn = 0)
        Added getNumberValue(msg)
        Added removePlayerItemsWithCharges(cid, itemid, charges) & removeContainerItemsWithCharges(cid, itemid, charges) (Thanks to Ronaldino)
         **Use these LUA functions to sell player empty flasks like;
         ** local totalsold = removePlayerItemsWithCharges(cid, 2006, 0)
                 ** local moneytogive = totalsold * 5

        Known Bugs:
            Account Manager can't manage namelocked characters.
]
    
0.1  = [

        Fixed: Melee monsters can no longer use spells while fleeing. (Credits Ferrus)
        Fixed: All torches working correctly now
        Fixed: Random Crash concerning Outputmessage (waiting state)
        Removed: $$$ Animation text when transforming gold to another type
        Fixed: DeathList
        Feature: Frag System (red, yellow, green, white)
        Feature & Fixed: Unjustified Kills banishment
        Feature: Runes
        Feature: Spells
            Fixed: Fixed certain spells effects
            Removed: Exori Strikes spells no longer work as 7.8+
            Added: Exori Strikes now are old-school like
            Fixed: Light spells duration
        Feature: Blessings
        Feature: Weapons
        Feature: Armors
        Feature: Monsters
        Feature: NPCs 
            Added: Talking Delay & Long Stories
            Fixed: NPCs no longer keeps talking to a person when over 3 SQMs distance
            Fixed: NPCs now have a longer idletime (85 seconds by default)
        GameProtocol:
            Added: 7.72 Support
        Bugs:
            Banishment System by client (Ctrl+Y) doesn't seems to work
             (haven't tested comment violation banishment, only scratch dialog fill banishment.
                If you know how to fix it, a code will be greatly appreciated).
            
]
[B]
[/B]

- - - Updated - - -

I'll message a moderator for approval.

- - - Updated - - -

NOT APPROVED BY MODERATOR, DOWNLOAD AT YOUR OWN RISK; Download Link for 0.2 Release Sources & Binaries: http://speedy*****malware.localhost/dYM99/OTDisturbed-0.2.rar

- - - Updated - - -

Update Fatal Bug:

There seem to be a problem with the Game Creature Cylinders, because when there are 2 or more players and there are a few and maybe just 1 monster, Tibia will debug.

The Tibia bug looks pretty much like this:

Code:
+--------------------------------------------------------------- Debug Assertion 9.44 Communication.cpp 2237 Fri Jan 27 14:03:50 2012 Graphic Engine: DirectX5 (0) Operating System: Windows XP Professional in USA Processor: Intel GENUINE T Video Card: ATI Mobility Radeon X1300 Last Packet Types: 109 170 170 101 109 109 170 170 106 104 Last Packet: 109 193 003 240 003 007 002 193 003 239 003 007 000 000 000 000 Player Position: [959,1001,7] Player Name: Test (PyOT dev server) Player Action: 049 050 055 046 048 046 048 046 049 058 055 049 055 050 Player.cpp 361: exception occurred, reason: Network.cpp 960: exception occurred (ErrorCode = 0), reason: Control.cpp 1377: exception occurred (Type = 109) (MainWindow = 28315024), reason: Communication.cpp 2356: exception occurred, reason: Communication.cpp 2244: exception occurred, reason: Communication.cpp 2237: MoveCreature has been received for a coordinate where there is no creature anymore [bug0000017], reason:  StartX: 10 StartY: 13 StartZ: 0  RNum: 2  DestX: 10 DestY: 12 DestZ: 0  dx: 0 dy: -1 dz: 0  abs_sx: 961 abs_sy: 1008 abs_sz: 7  abs_zx: 961 abs_zy: 1007 abs_zz: 7  Start Cylinder (1):  (4515,0) (4635,0)  Start Cylinder (2):  (4515,0) (4635,0)(-)(-)(-)(-)(-)(-)(-)(-)  Destination Cylinder (1):  (870,0) (4533,0)  Destination Cylinder (2):  (870,0) (4533,0)(-)(-)(-)(-)(-)(-)(-)(-) ----------------------------------------------------------------
 
Database bug I haven't experienced it, people on my server can login and logout normally with no crashes at all.
I'll take a look in magic wall and magic fields.
Remove vials, flasks script I'll take a look at it too, might be alittle bit out of date.

1. Vial script(check it while you have more than 5 empty vials and 5 mana fluids in bp on same time) because sometimes it works sometimes not. Btw it's not crash it is computer lag 100% CPU you can do nothing.

Code:
        if (msgcontains(msg:lower(),"deposit")) or (msgcontains(msg:lower(),"vial") or msgcontains(msg:lower(),"vials")) or (msgcontains(msg:lower(),"flask")) then
                npcHandler:say("I will pay you 5 gold for every empty vial. Ok?")
                talkState[talkUser] = 2
        elseif (msgcontains(msg:lower(),'yes')) and (talkState[talkUser] == 2) then
		vialcount = getPlayerItemCount(cid, 2006)
		for i=1,vialcount do
		   if 1 > doPlayerRemoveItem(cid, 2006, 1, 0) then vialcount = vialcount-1 end
		end
		   if vialcount > 0 then
		       doPlayerAddMoney(cid,vialcount*5)
                       npcHandler:say("Here you are ... "..(vialcount*5).." gold.")
                       talkState[talkUser] = 0
		   else
		       npcHandler:say("You don't have any empty vials.")
                       talkState[talkUser] = 0
		   end
        elseif (talkState[talkUser] == 2) then
                npcHandler:say("Hmm, but please keep Tibia litter free.")
                talkState[talkUser] = 0
        end

2. Database bug you should test it at longer hosting with more players. There will be error in console something like "error while saving players" someone who logout can't login. Or ask Tryller i think he know what i mean.
 
1. Vial script(check it while you have more than 5 empty vials and 5 mana fluids in bp on same time) because sometimes it works sometimes not. Btw it's not crash it is computer lag 100% CPU you can do nothing.

Code:
        if (msgcontains(msg:lower(),"deposit")) or (msgcontains(msg:lower(),"vial") or msgcontains(msg:lower(),"vials")) or (msgcontains(msg:lower(),"flask")) then
                npcHandler:say("I will pay you 5 gold for every empty vial. Ok?")
                talkState[talkUser] = 2
        elseif (msgcontains(msg:lower(),'yes')) and (talkState[talkUser] == 2) then
        vialcount = getPlayerItemCount(cid, 2006)
        for i=1,vialcount do
           if 1 > doPlayerRemoveItem(cid, 2006, 1, 0) then vialcount = vialcount-1 end
        end
           if vialcount > 0 then
               doPlayerAddMoney(cid,vialcount*5)
                       npcHandler:say("Here you are ... "..(vialcount*5).." gold.")
                       talkState[talkUser] = 0
           else
               npcHandler:say("You don't have any empty vials.")
                       talkState[talkUser] = 0
           end
        elseif (talkState[talkUser] == 2) then
                npcHandler:say("Hmm, but please keep Tibia litter free.")
                talkState[talkUser] = 0
        end

2. Database bug you should test it at longer hosting with more players. There will be error in console something like "error while saving players" someone who logout can't login. Or ask Tryller i think he know what i mean.

Use the vial script I released in the 0.2 version, my priority is now the monsters fatal error, which wont let the server be useful for anything unless it's war server with no summons.
 
Use the vial script I released in the 0.2 version, my priority is now the monsters fatal error, which wont let the server be useful for anything unless it's war server with no summons.

Ok. What about these functions that i've asked for by pm?

- - - Updated - - -

And where the vial script is located?
 
Status
Not open for further replies.
Back
Top