• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[CPP] EmuDevs Premium System

slp13at420

Mad Scientist
Hello, in first sorry for bad English. Second i want use the script in last version of TC, and as i see need add folder "Premium" in
Code:
src\server\scripts\Custom

OK here is a link to the Latest update version:
https://github.com/BlackWolfsDen/Em...m/tree/TDB-335.62_rev-01fd944d2907-2017-01-02

there is an instructions file for installation instructions.

then add
Code:
void AddSC_Premium_System();

and
Code:
AddSC_Premium_System();
in
Code:
custom_script_loader.cpp
The instructions.rtf file will explain installing the files since there are major changes with the latest rev custom script installation.

add lines to
Code:
worldserverer.conf
Yes WorldServer.conf not WorldServer.conf.dist

and add sql. I'm right ?
The instructions.rtf file will explain installing the files and yes add the sql files to your sql server.

BTW: i use Tommy version from second post in topic

[MENTION=1]Tommy[/MENTION] just posted that for an example for me to use to update the System to a more efficient System ;).
 

Viste

New member
Thank you very much, because the updated version was not, I thought now it is necessary cpp and h files to lay down in the scripts folder with your explanation and update instructions completely understood. Thank you so much.
 

slp13at420

Mad Scientist
Thank you very much, because the updated version was not, I thought now it is necessary cpp and h files to lay down in the scripts folder with your explanation and update instructions completely understood. Thank you so much.

\ o / Enjoy :)
 

yvoms

Exalted Member
Code:
ALTER TABLE `account`
	ADD COLUMN `premium` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER `activation`,
	ADD COLUMN `premium_time` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' AFTER `premium`;
Resulting in a minor error "/* SQL Error (1054): Unknown column 'activation' in 'account' */"
 

slp13at420

Mad Scientist
Code:
ALTER TABLE `account`
	ADD COLUMN `premium` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0' AFTER `activation`,
	ADD COLUMN `premium_time` BIGINT(20) UNSIGNED NOT NULL DEFAULT '0' AFTER `premium`;
Resulting in a minor error "/* SQL Error (1054): Unknown column 'activation' in 'account' */"

fixed ;)
 
Top