-
Posts
82 -
Joined
-
Last visited
-
Days Won
4
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Mice
-
Here prt_mk mapflag autotrade
-
This is an auto attack addon that can be integrated with any auto attack system. Please note that the auto attack system I used here is from Shakto. If you want to use my Priest Slave addon, you must first acquire the auto attack system from Shakto or use another auto attack system released here on the forum. IMPORTANT: The auto attack system I used is credited to Shakto, and this showcase is solely for the auto attack addons. If you want a similar experience to what you see in the video, please make sure to get the Enhanced Auto Attack from Shakto first. Thank you very much!
- 1 reply
-
- 2
-
-
-
Q>group id permission in a certain script or command
Mice replied to Sallycantdance's question in Scripting Support
bindatcmd "MVPSTATUS",strnpcinfo(0)+"::ONMVPSTATUS",5,99; -
Q>group id permission in a certain script or command
Mice replied to Sallycantdance's question in Scripting Support
What are you really need? you want to use this group 1 only? or you want to use it group 5 = VIP? -
Q>group id permission in a certain script or command
Mice replied to Sallycantdance's question in Scripting Support
bindatcmd "MVPSTATUS",strnpcinfo(0)+"::ONMVPSTATUS",1,99; -
If you are using test server try to re-execute your char table CREATE TABLE IF NOT EXISTS `char` ( `char_id` int(11) unsigned NOT NULL auto_increment, `account_id` int(11) unsigned NOT NULL default '0', `char_num` tinyint(1) NOT NULL default '0', `name` varchar(30) NOT NULL DEFAULT '', `class` smallint(6) unsigned NOT NULL default '0', `base_level` smallint(6) unsigned NOT NULL default '1', `job_level` smallint(6) unsigned NOT NULL default '1', `base_exp` bigint(20) unsigned NOT NULL default '0', `job_exp` bigint(20) unsigned NOT NULL default '0', `zeny` int(11) unsigned NOT NULL default '0', `str` smallint(4) unsigned NOT NULL default '0', `agi` smallint(4) unsigned NOT NULL default '0', `vit` smallint(4) unsigned NOT NULL default '0', `int` smallint(4) unsigned NOT NULL default '0', `dex` smallint(4) unsigned NOT NULL default '0', `luk` smallint(4) unsigned NOT NULL default '0', `pow` smallint(4) unsigned NOT NULL default '0', `sta` smallint(4) unsigned NOT NULL default '0', `wis` smallint(4) unsigned NOT NULL default '0', `spl` smallint(4) unsigned NOT NULL default '0', `con` smallint(4) unsigned NOT NULL default '0', `crt` smallint(4) unsigned NOT NULL default '0', `max_hp` int(11) unsigned NOT NULL default '0', `hp` int(11) unsigned NOT NULL default '0', `max_sp` int(11) unsigned NOT NULL default '0', `sp` int(11) unsigned NOT NULL default '0', `max_ap` int(11) unsigned NOT NULL default '0', `ap` int(11) unsigned NOT NULL default '0', `status_point` int(11) unsigned NOT NULL default '0', `skill_point` int(11) unsigned NOT NULL default '0', `trait_point` int(11) unsigned NOT NULL default '0', `option` int(11) NOT NULL default '0', `karma` tinyint(3) NOT NULL default '0', `manner` smallint(6) NOT NULL default '0', `party_id` int(11) unsigned NOT NULL default '0', `guild_id` int(11) unsigned NOT NULL default '0', `pet_id` int(11) unsigned NOT NULL default '0', `homun_id` int(11) unsigned NOT NULL default '0', `elemental_id` int(11) unsigned NOT NULL default '0', `hair` tinyint(4) unsigned NOT NULL default '0', `hair_color` smallint(5) unsigned NOT NULL default '0', `clothes_color` smallint(5) unsigned NOT NULL default '0', `body` smallint(5) unsigned NOT NULL default '0', `weapon` smallint(6) unsigned NOT NULL default '0', `shield` smallint(6) unsigned NOT NULL default '0', `head_top` smallint(6) unsigned NOT NULL default '0', `head_mid` smallint(6) unsigned NOT NULL default '0', `head_bottom` smallint(6) unsigned NOT NULL default '0', `robe` SMALLINT(6) UNSIGNED NOT NULL DEFAULT '0', `last_map` varchar(11) NOT NULL default '', `last_x` smallint(4) unsigned NOT NULL default '53', `last_y` smallint(4) unsigned NOT NULL default '111', `last_instanceid` int(11) unsigned NOT NULL default '0', `save_map` varchar(11) NOT NULL default '', `save_x` smallint(4) unsigned NOT NULL default '53', `save_y` smallint(4) unsigned NOT NULL default '111', `partner_id` int(11) unsigned NOT NULL default '0', `online` tinyint(2) NOT NULL default '0', `father` int(11) unsigned NOT NULL default '0', `mother` int(11) unsigned NOT NULL default '0', `child` int(11) unsigned NOT NULL default '0', `fame` int(11) unsigned NOT NULL default '0', `rename` SMALLINT(3) unsigned NOT NULL default '0', `delete_date` INT(11) UNSIGNED NOT NULL DEFAULT '0', `moves` int(11) unsigned NOT NULL DEFAULT '0', `unban_time` int(11) unsigned NOT NULL default '0', `font` tinyint(3) unsigned NOT NULL default '0', `uniqueitem_counter` int(11) unsigned NOT NULL default '0', `sex` ENUM('M','F') NOT NULL, `hotkey_rowshift` tinyint(3) unsigned NOT NULL default '0', `hotkey_rowshift2` tinyint(3) unsigned NOT NULL default '0', `clan_id` int(11) unsigned NOT NULL default '0', `last_login` datetime DEFAULT NULL, `title_id` INT(11) unsigned NOT NULL default '0', `show_equip` tinyint(3) unsigned NOT NULL default '0', `inventory_slots` smallint(6) NOT NULL default '100', `body_direction` tinyint(1) unsigned NOT NULL default '0', `disable_call` tinyint(3) unsigned NOT NULL default '0', PRIMARY KEY (`char_id`), UNIQUE KEY `name_key` (`name`), KEY `account_id` (`account_id`), KEY `party_id` (`party_id`), KEY `guild_id` (`guild_id`), KEY `online` (`online`) ) ENGINE=MyISAM AUTO_INCREMENT=150000; or ALTER TABLE `char` ADD `max_ap` int(11) unsigned NOT NULL default '0' AFTER `sp`;
-
This error is due to a missing max_ap. If you have a custom modification on your character, you need to execute the corresponding field in the character table.
-
Many developers are currently creating paid tools that can bypass Gepard, especially features like no delay and animation removal. The cheapest tools, like Xmafia, are even being developed for AndroidRO. You might want to try using Adelays; there's a project ongoing that’s updated with the latest Rathena. While this isn't a permanent solution, it can help significantly.
-
You can expand your logic and replace 'failedRefItem' with something similar to 'bBreakWeaponRate' or any comparable item, but it can be easily repaired using 'repair();'.
-
Use your LAN IP to connect other LAN player
-
How to check "sd->state.security" in a script commands
Mice replied to Mice's question in Scripting Support
Solve using custom string -
How to check the state in a script, for example, 'sd->state.security' and also how to force set the state in a script prontera,155,172,3 script dwakjd 123,{ if(state.security == 1) { mes "Your security is 0"; close; } mes "Your security is 1"; close; }
-
Regarding the Chat/PUB Room, I don’t really know what its function is.
Mice replied to Mice's question in Source Support
It work thank you so much -
Regarding the Chat/PUB Room, I don’t really know what its function is.
Mice posted a question in Source Support
I have a custom status effect, a.k.a SC_INVASION_E which is customized. Now I want my custom status to detect if a player is in a chatroom/pub. Initially, I edited chat.cpp in the chat_createpcchat function, and it works for detecting when a chatroom is created. However, my problem is that it doesn’t detect when a player joins a chatroom. To avoid modifying chat.cpp further, I want to handle this detection in my custom status function instead. The issue is that I don’t know the correct function for detecting chatrooms; I used SC_NOCHAT if (sd->sc.getSCE(SC_NOCHAT)) { status_change_end(&sd->bl, SC_INVASION_E); clif_displaymessage(sd->fd, "Invasion Spirit Off - close/leave chatroom and activate again"); return 0; } -
Thank you very much, you understood what I wanted to achieve. I tried using SELECT COUNT(*) and the temporary table query INSERT INTO temp_selected_players (char_id) VALUES (" + .@char_id + "); it worked okay, but your logic is better. Many thanks!
-
Please help me with how to do this: select 5 random online players no repeat, and before they are chosen, the script should check the SQL table event_pick to ensure that the qualified field has a value of 1 for them to be eligible for the event. heres my event_pick database CREATE TABLE `event_pick` ( `id` int(10) unsigned NOT NULL auto_increment, `char_id` int(11) NOT NULL, `qualified` int(11) NOT NULL default '0', PRIMARY KEY USING BTREE (`id`), UNIQUE KEY `char_id` (`char_id`) ) ENGINE=MyISAM AUTO_INCREMENT=1; And here's the script from the forum that I want to be modified. byako,83,154,4 script Who's Online Event 99,{ mes "[Who's Online Event]"; if (getgroupid() < 99) { mes "Only GM's are allowed to use this NPC."; } else { mes "Enable event?"; if (select("Yes", "No") == 1) { mes "Event started."; donpcevent strnpcinfo(3)+"::OnStart"; } } close; OnHour00: OnHour03: OnHour06: OnHour09: OnHour12: OnHour15: OnHour18: OnHour21: OnStart: do { query_sql "select `account_id`, `name` from `char` where online = 1 order by rand() limit 1", .@aid, .@name$; attachrid .@aid; } while (checkvending() || getgroupid() >= 2 || inarray(.map$, strcharinfo(3)) == -1); announce strcharinfo(0) +" won 1 Lucky Pick Box in Exiled Lucky Pick", bc_all, 0x00FF00; getitem 50043,1; end; OnInit: setarray .map$, "prontera", "izlude", "payon"; end; }
-
Hello please help how to delete sc_data of SC_BOSSMAPINFO everytime to login
Mice replied to Dev j's question in Scripting Support
try this query_sql("DELETE FROM `sc_data` WHERE `type` = 123456"); -
Ok now working thanks again ? this is my 2nd request you helped me
-
Im trying to figure the error, but i dont have clue because i try to trial error, i thinking if the npc will not trace the monster id or what ever
-
-
This is unitwarp, its better if the monster will walk in x,y not teleporting it is possible? thank you
-
Hello, how its possible to make monster movement in certain cordinate? example poring monste can move where you want to move it using coordinate thanks
-
Thanks man for your effort (Y) now its working,
-
Thanks it work. how to maintain the player counter in the lower right? it is possible?
-
Thank you for your answer but i need is ,when pvp the map is pvp on, in the official behavior when you die 2x in pvp map like resu kill you will be warp out in your save point right?, in my case i want to disable this feature in certain map, so anyone can do resu kill in pvp mode map thanks