Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Release] .NET Core 3.1 TeraAPI for v92.03 files including source code

Initiate Mage
Joined
Dec 13, 2016
Messages
21
Reaction score
19
Prerequisites:

  • IIS (Internet Information Services), Install from windows server roles
  • .NET Core 3.1 Hosting bundle, download here:
How to set up:

  • After installing the prerequisites, type inetmgr at the search in the start menu, to open IIS Manager.
  • Create a new site, make it listen to port 8080, and the machines IP (not 127.0.0.1, the site must be accessible from other machines), create a folder for it
  • Extract the bin.zip and copy the files to the folder created in the previous step
  • make sure to edit your MYSQL ip, port, user and password
  • Change your application pool to "No Managed Code"

If you successfully set up, you can test at
If you get any error, it gets logged to windows event log - application tab

If you want to use the SHA512 encryption from this post: http://forum.ragezone.com/f798/add-sha512-salted-encryption-tera-1194396/ set the salt in appsettings.json, and make sure it is enabled. If you want to use plaintext, just set it to false.

It is possible to use account benefits from this post: http://forum.ragezone.com/f798/92-03-add-account-benefits-1194487/, just make sure you have the table and have data in it.

bin:
src:

Example data
Code:
5935 433 1699293064

Credits: EvolutionX for the encryption, Luciole for the accountbenefits, argeus99 for testing.

If you know any missing features from the files which are API related let me know.
 
Initiate Mage
Joined
Dec 13, 2016
Messages
21
Reaction score
19
@templar all you need to do is make sure the table exists (run this script)

Code:
DROP TABLE IF EXISTS `account_benefits`;CREATE TABLE `account_benefits` (  `accountDBID` int(11) NOT NULL,  `benefitId` int(11) NOT NULL,  `availableUntil` int(11) NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=latin1;

and make sure it contains rows such as: 5935 433 1699293064 (where 5935 is your accounts dbid from accountinfo table, 433 is the benefit - tera club membership in this case - and the last huge number is the expiration date). It is the amount of seconds passed since 1970.01.01.

use this site to convert:

the api finds the table automatically
 
Back
Top