Steinhart
-
Posts
11 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Steinhart
-
-
14 hours ago, melv0 said:
like was functor said is script command not costume command GM, i think u missunderstand
I thought it was the command i was looking for, so how do i add that custom commad @flooritem tia!
-
22 minutes ago, Functor said:
It is script command.
recompiling with your script.ccp no errors but when i tried using it @flooritem it says failed please help thanks!
-
On 9/9/2018 at 4:46 AM, Functor said:
BUILDIN_FUNC(flooritem) { short mx, my; struct item item_tmp; int nameid, amount, i; struct map_session_data *sd; struct item_data *item_data; if (script_rid2sd(sd) == NULL) return SCRIPT_CMD_SUCCESS; nameid = script_getnum(st, 2); if ((item_data = itemdb_search(nameid)) == NULL) return SCRIPT_CMD_SUCCESS; amount = script_getnum(st, 3); if (amount <= 0) return SCRIPT_CMD_SUCCESS; memset(&item_tmp, 0, sizeof(item_tmp)); item_tmp.nameid = nameid; item_tmp.identify = 1; for (i = 0; i < amount; i++) { map_search_freecell(&sd->bl, 0, &mx, &my, -1, -1, 0); map_addflooritem(&item_tmp, 1, sd->bl.m, mx, my, 0, 0, 0, 0, 0); } return SCRIPT_CMD_SUCCESS;
after i put this on script.cpp, how do i enable the @command in game?
help please newbie here @Functor
-
On 6/22/2018 at 9:15 AM, xSoul said:
BUILDIN_FUNC(flooritem)
{
struct map_session_data *sd = script_rid2sd(st);
struct item_data *item_data;
int nameid, amount;if( sd == NULL ) return 0;
nameid = script_getnum(st,2);
if( (item_data = itemdb_search(nameid)) == NULL )
return 0;amount = script_getnum(st,3);
if( amount <= 0 )
return 0;map_addflooritem_area(&sd->bl, 0, 0, 0, nameid, amount);
return 0;
}where should i put this? i am using 2018
-
-
-
-
12 minutes ago, hendra814 said:
I think your problem at conf\inter_athena.conf
// MySQL Login server login_server_ip: 127.0.0.1 login_server_port: 3306 login_server_id: ragnarok login_server_pw: ragnarok login_server_db: ragnarok login_codepage: login_case_sensitive: no ipban_db_ip: 127.0.0.1 ipban_db_port: 3306 ipban_db_id: ragnarok ipban_db_pw: ragnarok ipban_db_db: ragnarok ipban_codepage: // MySQL Character server char_server_ip: 127.0.0.1 char_server_port: 3306 char_server_id: ragnarok char_server_pw: ragnarok char_server_db: ragnarok // MySQL Map Server map_server_ip: 127.0.0.1 map_server_port: 3306 map_server_id: ragnarok map_server_pw: ragnarok map_server_db: ragnarok // MySQL Log Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: ragnarok log_db_pw: ragnarok log_db_db: ragnarok log_codepage: log_login_db: loginlog
Are you already set Your sql ID and password in this part?
im already done with that thank you!
my problem now is the second part of the video, i followed the guide but my client doesnt open at all.
-
56 minutes ago, Earnestinence said:
@Steinhart Hi, Make sure you create User with the username and password 'ragnarok' and in your sql db
Feel free you contact me at disocrd: @sexual Thought#5337
Coul you please tell which part i messed up every detail in your guide i followed, more patience Please tia
-
On 7/12/2017 at 2:20 PM, Earnestinence said:
change the username and password of the server: See video time-line: 07:03
- Now next/around rathena database right click on a blank area and click refresh all ( in order to view the tables we've just created or just relog )
- Click on rathena database/schema > tables > locate login table..
- now click on tables and locate login table then right click and click on select Rows - Limit 1000
- Double click on s1 and change it to username then hit enter ( we put the userid: username in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt make sure you use the same one you put in these files )
- Double click on p1 and change it to password then hit enter ( we put the passwd: password in rathena/conf/import-tmpl/char_conf.txt and map_conf.txt make sure you use the same one you put in these files )
- Click apply, apply and then finish
i followed everything but this is the outcome
kindly help me tia
Guild skill
in Client-side Support
Posted
i dont know if im in the right section could someone help me with this please thank you!