[CAST] - OTX Server 2.X.S-3 LORD ZEDD (7.x/8.x/8.5x/8.6x/8.7x/10.x)

Otfan125

Excellent OT User
Joined
Mar 1, 2008
Messages
91
Best answers
0
Reaction score
7
Is there any way that I can switch to SQLite from MySQL ?
 

Otfan125

Excellent OT User
Joined
Mar 1, 2008
Messages
91
Best answers
0
Reaction score
7
Just upload the mysql file its inside your folders
I think I'm misunderstood, I want to run the server and instead of establishing a connection to MYSQL, it instead uses the local database of SQLite

This was done in earlier servers, before 8.60, I just really wish it could be done again.
 

Felipe93

Ghost Member
Joined
Mar 21, 2015
Messages
1,509
Best answers
9
Reaction score
212
Location
Chile
I think I'm misunderstood, I want to run the server and instead of establishing a connection to MYSQL, it instead uses the local database of SQLite

This was done in earlier servers, before 8.60, I just really wish it could be done again.
Find the mysql file its stored in the same folder that is the sqlite file remember to change the configs in your config.lua file
 

Otfan125

Excellent OT User
Joined
Mar 1, 2008
Messages
91
Best answers
0
Reaction score
7
i still don't think you understand me, I'm trying to make the server use SQLITE not MYSQL, I downloaded cryingdamson 8.6 and that one does use sqlite, i was wondering if we could use SQLITE for this release
 

Otfan125

Excellent OT User
Joined
Mar 1, 2008
Messages
91
Best answers
0
Reaction score
7
Everything works up to this point :/
Code:
  CXXLD    theotxserver
spells.o: In function `Spell::postSpell(Player*, unsigned int, unsigned int) const':
/home/milk/Desktop/otxserver-otxserv2/path_7_x/sources/spells.cpp:1069: undefined reference to `Player::changeSoul(int)'
weapons.o: In function `Weapon::onUsedWeapon(Player*, Item*, Tile*) const':
/home/milk/Desktop/otxserver-otxserv2/path_7_x/sources/weapons.cpp:465: undefined reference to `Player::changeSoul(int)'
collect2: error: ld returned 1 exit status
Makefile:466: recipe for target 'theotxserver' failed
make[1]: *** [theotxserver] Error 1
make[1]: Leaving directory '/home/milk/Desktop/otxserver-otxserv2/path_7_x/sources'
Makefile:409: recipe for target 'all' failed
make: *** [all] Error 2
 

djblah

Well-Known Member
Joined
Oct 15, 2010
Messages
59
Best answers
0
Reaction score
12
please protocol login for the otx 2.x.s.3 10.55 help me please

please protocollogin.cpp 10.55 for otx 2.x.s.3
 

grzywka

New Member
Joined
Oct 29, 2017
Messages
1
Best answers
0
Reaction score
0
Hello
Sometimes client crash i dont know why :(
Its always 1-3 seconds after you descend the stairs
when i login again after crash everything works again but after 10-15 min again crash

---- 4/11/2017 22:12:22 - Pally (89.64.3.20) -----
Comment:
Windows Version: 6.2 build 9200 on 2
Graphic Engine: DirectX9 (2)
Last Packet Types: 104 109 101 109 101 109 101 109 102 109
Last Packet: 104 001 109 004 001 094 001 007 001 003 001 094 001 007 104 174
Player Position: [259,350,7]
Player Name: Pally
Player.cpp 358: exception occurred, reason:
Network.cpp 980: exception occurred (ErrorCode = 0), reason:
Control.cpp 1309: exception occurred (Type = 104), reason:
Communication.cpp 1596: exception occurred, reason:
Communication.cpp 1509: exception occurred (xmin = 0) (ymin = 0), reason:
Communication.cpp 1488: exception occurred (Type = 0) (OldType = 160), reason:
Communication.cpp 1476: client recieved field with type 0 (0,0,0)
Sat Nov 04 22:09:43 2017
Debug Assertion 8.0 Communication.cpp 1476

----- 5/11/2017 10:34:54 - Rafi (89.64.3.20) -----
Comment:
Windows Version: 6.2 build 9200 on 2
Graphic Engine: DirectX9 (2)
Last Packet Types: 100 108 107 104 109 109 104 109 131 180
Last Packet: 115 010 109 104 000 241 000 013 001 103 000 241 000 013 104 027
Player Position: [103,241,13]
Player Name: Rafi
Player.cpp 358: exception occurred, reason:
Network.cpp 980: exception occurred (ErrorCode = 0), reason:
Control.cpp 1309: exception occurred (Type = 100), reason:
Communication.cpp 1532: exception occurred (PlayerX = 103) (PlayerY = 242), reason:
Communication.cpp 1509: exception occurred (xmin = 0) (ymin = 0), reason:
Communication.cpp 1488: exception occurred (Type = 0) (OldType = 220), reason:
Communication.cpp 1476: client recieved field with type 0 (16,5,3)
Sun Nov 05 10:34:37 2017
Debug Assertion 8.0 Communication.cpp 1476
 

ismael jr91

Member
Joined
May 28, 2016
Messages
91
Best answers
0
Reaction score
4
sources for 8.0 8.1 have errors in black skull this msg "you may not cast area spells while you have a black skull"

anyone can help ???? i think is in spells.cpp
 

seyakuroya

Legendary OT User
Joined
Dec 21, 2008
Messages
683
Best answers
1
Reaction score
366
sources for 8.0 8.1 have errors in black skull this msg "you may not cast area spells while you have a black skull"

anyone can help ???? i think is in spells.cpp
You must change it in config or spells.xml - I got the same problem and i fix it. but don't remember how
 

ismael jr91

Member
Joined
May 28, 2016
Messages
91
Best answers
0
Reaction score
4

Attachments

CollapserLegacy

New Member
Joined
Mar 8, 2018
Messages
10
Best answers
0
Reaction score
3
To add a limit on tile items add this in game.cpp

Game::playerMoveThing

Code:
Tile* checkTile = map.getTile(toPos);
    if (checkTile && thing->getItem() && checkTile->getItemCount() >= 10) {
        player->sendCancelMessage("You may not throw anymore items on this tile.");
        return;
    }
 

goesraphael

New Member
Joined
Apr 4, 2017
Messages
22
Best answers
0
Reaction score
0
To add a limit on tile items add this in game.cpp

Game::playerMoveThing

Code:
Tile* checkTile = map.getTile(toPos);
    if (checkTile && thing->getItem() && checkTile->getItemCount() >= 10) {
        player->sendCancelMessage("You may not throw anymore items on this tile.");
        return;
    }

This is my game.cpp, where should I put your code into it?
 

Attachments

goesraphael

New Member
Joined
Apr 4, 2017
Messages
22
Best answers
0
Reaction score
0
Bro, I'm using this distro to run my server, BUT there is a strange problem.
With binary files and running on my computer that is windows, I don't have any bug, BUT when I put the server on my VPN that uses Linux, When I put the max number of items allowed in config.lua in the same Tile, and make any new item using spells, like bolt, arrow, etc...
The server crashes.

Could u help me?
 

djblah

Well-Known Member
Joined
Oct 15, 2010
Messages
59
Best answers
0
Reaction score
12
that boost and lib were used to compile the otx code name:
LORD ZEDD
 
Top