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

Server Panel 2.0

Joined
Apr 17, 2008
Messages
1,922
Solutions
1
Reaction score
188
Location
Venezuela
Server Panel 2.0 By Darkhaos

This program works/tested with/in TFS 0.3.6pl1 files. If you found a bug, please post it here or send it via PM.

Note that this is a Beta version, all included features are tested but still there may be an error in one of them.

Requirements: Microsoft .NET Framework 3.5
The current features are:
  • Folder/File explorer. This shows all folder/files in you server directory.
  • Editing and saving selected files.
  • Interact with database. You can execute a query and also check for player info (Including inventory view)
  • Reads special Items.xml, reads Tibia.dat and Tibia.spr (Files are readed when you connect with the database)
  • Npc Creator
    • An easy NPC Creator where you can edit the xml file.
    • Easy behaviour creator. You can easily add interactions to the npc.
    • Add items to the Npc's shop list. Edit the onSell and onBuy functions.
    • Easy travel designer where you can add the words/price and destination.
    • Script viewer. Check how is the npc's script and also edit it if you want.
  • Spell Creator
    • This is very basic for now.
    • An easy Spell Creator where you can edit the xml file.
    • Create the spell area, change the effect, distance effect and combat.
    • Script viewer. Check how is the spell's script and also edit it if you want.
  • Quest Designer
    • Create new quests, adding missions and state to these missions.
    • States' ids are setted automatically (one more than the previous). But if you want to edit the id you can change it in the field "Id:"
  • Scripter
    • Interact with the application (Forms, assemblies, etc)
    • Support for LUA
    • Support for C#
    • Suppor for Visual Basic
    • Create new npcs/spells/quests with the scripter
  • Database Manager
    • Execute MySQL commands.
    • Edit players
    • Edit accounts
  • Restarter
    • Program checks if the server is running, if server is not running, program starts the server.
    • All info about restarted is showed and also saved into a log file in the app folder.
  • Program shows if your server is running, the memory being used and the server uptime.
  • Program shows players online, server rates, type, id and name. Also, shows total accounts, players, guilds and bans in the database. (This info is loaded when you connect to the database)
  • Port Checker. Program checks if the ports declared in config.lua are opened (If port is available, the label color will be green, else, will be red).

Images

Script examples
LUA
See the code: here

C#
See the code: here

Visual Basic uses same variables as C#, just adapt the code and it's done.

In the application's startup folders must be a folder called 'libs' (All lua libs must be placed there) and a folder called 'data'. This folder will include a special Items.xml file (Edited by me, it's special because it includes items client-id), Tibia.dat and Tibia.spr. Tibia files must be from Tibia < 9.54.

If the player's inventory shows exclamation images, that's because the item in the slot doesn't have a client-id specified on Items.xml.

I hope you guys enjoy it, I will continue working on the application and adding new features.

Link
Download Server Panel.rar from Sendspace.com - send big files the easy way Link includes app with all .dll files required, 'libs' folder with npc class and 'data' folder with file Items.xml. You should paste Tibia.dat and Tibia.spr by yourself. These files weren't added in the .rar file because Tibia.spr is too heavy.

Scan
https://www.virustotal.com/file/889e4bfe12435b375d81197b1fb30c861ae104b749c9c5c4a80d0ccbc9deb589/analysis/1344029384/
 
Last edited by a moderator:
wtf this NPC script system?.

- - - Updated - - -

It isn't working, it keeps telling me that the program stopped working.
 
I'll test it, good work, keep it up!

- - - Updated - - -

>EDIT: doesn't working for me :(.
Server Panel has stopped working when launch.
 
Updated to Version 2.0
If the version 2.0 isn't downloadable at the download link, wait until Delirium updates the post.

Changes
  • Added Server Restarter
    • Program checks if the server is running, if server is not running, program starts the server.
    • All info about restarted is showed and also saved into a log file in the app folder.
  • Added the option to edit Accounts in Database Manager.
  • Some bugs were fixed.
  • Some codes were optimized.
 
Another good program what i cant run in my O.S ;(, great work anyway!
 
Now make it connect to an external server via SSH and allow basic sFTP abilities and you have yourself an all-around server panel.
You can also add server profiles in case you have more than one server.

IMO making only for Windows Based Servers is a bit weak, but in all, this is an awesome tool, for server owners that want to edit their servers.
 
I was inspired by Darkhaos, so I decided to make the same but for Linux.
GUI: Qt4
Programming Language: Python - PyQt4

_DnJh_7.png

Still Developing the UI, so I can get Coding.

8BCP8ig.png

Making it a little more compact, without cramming too much.

- - - Updated - - -

Update Design!!

qjH82UN.png


pK2NIhg.png


8m_9lMQ.png


7l3w9qo.png


_6FAhAV.png


I7fwEWE.png
 
is it possible to make the Sha1 password stuff show the real password? I wanna see the acc name and password and not this crap: e1fb5aa1be767cd58d5ffd7b50682915f724c47f I need to see real passwords I thought this tool would show :/
 
Last edited:
is it possible to make the Sha1 password stuff show the real password? I wanna see the acc name and password and not this crap: e1fb5aa1be767cd58d5ffd7b50682915f724c47f I need to see real passwords I thought this tool would show :/

Why in hell do you want to see the real password? Seems to me that you are up to no good. Every password is encrypted for your and everyone else's security.
 
So that if for example he suspects a player of cloning stuff he can login on his char and check it?
That is a very bad example, heck there is not "example" for security, there are many other means to "check" on a cheater, for example, invisibility, you can watch over the cheater and see what he does to cheat, Custom scripts, that can return the user's items in a list and many more creative ways than to log in the user's account.

"Stop thinking backwards and start thinking creative!"

Edit:
SHA1 cannot be decrypted, SHA1 is a one way encryption.
 
Last edited:
Great application! xD but I get this as soon as I open it.
Code:
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Server_Panel_CSharp.Form1.checkExeTimer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Server Panel
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.0.0
    CodeBase: file:///F:/Tibia/Server%20Panel/Server%20Panel.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5460 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5456 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5462 (Win7SP1GDR.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ScintillaNET
    Assembly Version: 2.5.0.0
    Win32 Version: 2.5.0.0
    CodeBase: file:///F:/Tibia/Server%20Panel/ScintillaNET.DLL
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
LuaInterface
    Assembly Version: 2.0.0.16708
    Win32 Version: 2.0.0.16708
    CodeBase: file:///F:/Tibia/Server%20Panel/LuaInterface.DLL
----------------------------------------
lua51
    Assembly Version: 0.0.0.0
    Win32 Version: 
    CodeBase: file:///F:/Tibia/Server%20Panel/lua51.DLL
----------------------------------------
msvcm90
    Assembly Version: 9.0.30729.4940
    Win32 Version: 9.00.30729.4940
    CodeBase: file:///C:/Windows/WinSxS/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_50916076bcb9a742/msvcm90.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
Back
Top