

Dastgir
Members-
Posts
331 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by Dastgir
-
Please edit the 1st topic.
-
Its 90% Made. Project Link: https://github.com/M45T3Ryu/KO-Proyect == Todo Fixing of Old Man NPC Battle Test Testing of "Weaponary Test" Check what happens when LP == 0 || -0 is reached Me And M45T3R are busy, so anybody interested in completing the script may complete it. Its 80-90% Done. Only Few things are remaining.
-
Updated data/rdata
-
Sorry for time, but i am patching now so it would take 1 more day to decompile.
-
Tomorrow, i will do it.
-
[Warning] itemdb_search: item id 22001 does not excist in item_db. using dummy data This is because you don't have item id # 22001 and your players may have that item or (npc may be using that item) [SQL]: DB error - Lost connection to MySQL server during query [Debug] : at ..\src\map\mapreg_sql.c:163 - UPDATE 'mapreg' SET 'value'= '999999' wHERE 'varname '=' $ttranks' AND 'index' = 0 This is self-explanable error "
-
Updated to r6. Changelog: r6: Added System Files[13 March] and Jan13 Files(That was deleted by me accidently)
-
then you might have Item ID #7608
-
Isn't files in http://krotranslatedlua.googlecode.com/svn/trunk/ lua's? Doing Them right now, will take around 10 minute.
-
Updated kRO Decompiled Lua's, Will soon give translation. Dropping New Items Project Because of Lack of Time.
-
Here it is , your File decrypted to Lua: http://www.mediafire.com/download.php?2ics8sft8kbcamk Edit: This don't seems to be kRO files, because its mostly in english.
-
i got a problem after i update my SVN to 17188
Dastgir replied to Gelo's question in General Support
revert to r17187 Or Wait for dev to fix it. -
How can i remove the cooldown of 5 minutes for this?
Dastgir replied to Kiritoryu's question in Scripting Support
db/quest_db.txt Change this 6025,300,0,0,0,0,0,0,"KVM Guillaume" 6026,300,0,0,0,0,0,0,"KVM Croix" to 6025,0,0,0,0,0,0,0,"KVM Guillaume" 6026,0,0,0,0,0,0,0,"KVM Croix" -
*viewpoint <action>,<x>,<y>,<point number>,<color>; This command will mark places on the mini map in the client connected to the invoking character. It uses the normal X and Y coordinates from the main map. The colors of the marks are defined using a hexadecimal number, same as the ones used to color text in 'mes' output, but are written as hexadecimal numbers in C. (They look like 0x<six numbers>.) Action is what you want to do with a point, 1 will set it, while 2 will clear it. 0 will also set it, but automatically removes the point after 15 seconds. Point number is the number of the point - you can have several. If more than one point is drawn at the same coordinates, they will cycle, which can be used to create flashing marks. // This command will show a mark at coordinates X 30 Y 40, is mark number 1, // and will be red. viewpoint 1,30,40,1,0xFF0000; This will create three points: viewpoint 1,30,40,1,0xFF0000; viewpoint 1,35,45,2,0xFF0000; viewpoint 1,40,50,3,0xFF0000; And this is how you remove them: viewpoint 2,30,40,1,0xFF0000; viewpoint 2,35,45,2,0xFF0000; viewpoint 2,40,50,3,0xFF0000; The client determines what it does with the points entirely, the server keeps no memory of where the points are set whatsoever.
-
Enable @go command for group level 1 to be at town only
Dastgir replied to Meister's question in Source Support
Full Code: /*========================================== * @go [city_number or city_name] - Updated by Harbin *------------------------------------------*/ ACMD_FUNC(go) { int i; int town; char map_name[MAP_NAME_LENGTH]; int16 m; const struct { char map[MAP_NAME_LENGTH]; int x, y; } data[] = { { MAP_PRONTERA, 156, 191 }, // 0=Prontera { MAP_MORROC, 156, 93 }, // 1=Morroc { MAP_GEFFEN, 119, 59 }, // 2=Geffen { MAP_PAYON, 162, 233 }, // 3=Payon { MAP_ALBERTA, 192, 147 }, // 4=Alberta #ifdef RENEWAL { MAP_IZLUDE, 128, 146 }, // 5=Izlude (Renewal) #else { MAP_IZLUDE, 128, 114 }, // 5=Izlude #endif { MAP_ALDEBARAN, 140, 131 }, // 6=Al de Baran { MAP_LUTIE, 147, 134 }, // 7=Lutie { MAP_COMODO, 209, 143 }, // 8=Comodo { MAP_YUNO, 157, 51 }, // 9=Yuno { MAP_AMATSU, 198, 84 }, // 10=Amatsu { MAP_GONRYUN, 160, 120 }, // 11=Gonryun { MAP_UMBALA, 89, 157 }, // 12=Umbala { MAP_NIFLHEIM, 21, 153 }, // 13=Niflheim { MAP_LOUYANG, 217, 40 }, // 14=Louyang { MAP_NOVICE, 53, 111 }, // 15=Training Grounds { MAP_JAIL, 23, 61 }, // 16=Prison { MAP_JAWAII, 249, 127 }, // 17=Jawaii { MAP_AYOTHAYA, 151, 117 }, // 18=Ayothaya { MAP_EINBROCH, 64, 200 }, // 19=Einbroch { MAP_LIGHTHALZEN, 158, 92 }, // 20=Lighthalzen { MAP_EINBECH, 70, 95 }, // 21=Einbech { MAP_HUGEL, 96, 145 }, // 22=Hugel { MAP_RACHEL, 130, 110 }, // 23=Rachel { MAP_VEINS, 216, 123 }, // 24=Veins { MAP_MOSCOVIA, 223, 184 }, // 25=Moscovia { MAP_MIDCAMP, 180, 240 }, // 26=Midgard Camp { MAP_MANUK, 282, 138 }, // 27=Manuk { MAP_SPLENDIDE, 197, 176 }, // 28=Splendide { MAP_BRASILIS, 182, 239 }, // 29=Brasilis { MAP_DICASTES, 198, 187 }, // 30=El Dicastes { MAP_MORA, 44, 151 }, // 31=Mora { MAP_DEWATA, 200, 180 }, // 32=Dewata { MAP_MALANGDO, 140, 114 }, // 33=Malangdo Island { MAP_MALAYA, 242, 211 }, // 34=Malaya Port { MAP_ECLAGE, 110, 39 }, // 35=Eclage }; nullpo_retr(-1, sd); if( map[sd->bl.m].flag.nogo && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) { clif_displaymessage(sd->fd,msg_txt(995)); // You cannot use @go on this map. return 0; } if( pc_get_group_level(sd) == 1 && map[sd->bl.m].flag.town && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) { clif_displaymessage(sd->fd,"You can only use @go inside towns."); return 0; } memset(map_name, '\0', sizeof(map_name)); memset(atcmd_output, '\0', sizeof(atcmd_output)); // get the number town = atoi(message); if (!message || !*message || sscanf(message, "%11s", map_name) < 1 || town < 0 || town >= ARRAYLENGTH(data)) {// no value matched so send the list of locations const char* text; // attempt to find the text help string text = atcommand_help_string( command ); clif_displaymessage(fd, msg_txt(38)); // Invalid location number, or name. if( text ) {// send the text to the client clif_displaymessage( fd, text ); } return -1; } // get possible name of the city map_name[MAP_NAME_LENGTH-1] = '\0'; for (i = 0; map_name[i]; i++) map_name[i] = TOLOWER(map_name[i]); // try to identify the map name if (strncmp(map_name, "prontera", 3) == 0) { town = 0; } else if (strncmp(map_name, "morocc", 4) == 0 || strncmp(map_name, "morroc", 4) == 0) { town = 1; } else if (strncmp(map_name, "geffen", 3) == 0) { town = 2; } else if (strncmp(map_name, "payon", 3) == 0) { town = 3; } else if (strncmp(map_name, "alberta", 3) == 0) { town = 4; } else if (strncmp(map_name, "izlude", 3) == 0) { town = 5; } else if (strncmp(map_name, "aldebaran", 3) == 0) { town = 6; } else if (strncmp(map_name, "lutie", 3) == 0 || strcmp(map_name, "christmas") == 0 || strncmp(map_name, "xmas", 3) == 0 || strncmp(map_name, "x-mas", 3) == 0) { town = 7; } else if (strncmp(map_name, "comodo", 3) == 0) { town = 8; } else if (strncmp(map_name, "juno", 3) == 0 || strncmp(map_name, "yuno", 3) == 0) { town = 9; } else if (strncmp(map_name, "amatsu", 3) == 0) { town = 10; } else if (strncmp(map_name, "kunlun", 3) == 0 || strncmp(map_name, "gonryun", 3) == 0) { town = 11; } else if (strncmp(map_name, "umbala", 3) == 0) { town = 12; } else if (strncmp(map_name, "niflheim", 3) == 0) { town = 13; } else if (strncmp(map_name, "louyang", 3) == 0) { town = 14; } else if (strncmp(map_name, "new_1-1", 3) == 0 || strncmp(map_name, "startpoint", 3) == 0 || strncmp(map_name, "beginning", 3) == 0) { town = 15; } else if (strncmp(map_name, "sec_pri", 3) == 0 || strncmp(map_name, "prison", 3) == 0 || strncmp(map_name, "jail", 3) == 0) { town = 16; } else if (strncmp(map_name, "jawaii", 3) == 0) { town = 17; } else if (strncmp(map_name, "ayothaya", 3) == 0) { town = 18; } else if (strncmp(map_name, "einbroch", 5) == 0) { town = 19; } else if (strncmp(map_name, "lighthalzen", 3) == 0) { town = 20; } else if (strncmp(map_name, "einbech", 5) == 0) { town = 21; } else if (strncmp(map_name, "hugel", 3) == 0) { town = 22; } else if (strncmp(map_name, "rachel", 3) == 0) { town = 23; } else if (strncmp(map_name, "veins", 3) == 0) { town = 24; } else if (strncmp(map_name, "moscovia", 3) == 0) { town = 25; } else if (strncmp(map_name, "mid_camp", 3) == 0) { town = 26; } else if (strncmp(map_name, "manuk", 3) == 0) { town = 27; } else if (strncmp(map_name, "splendide", 3) == 0) { town = 28; } else if (strncmp(map_name, "brasilis", 3) == 0) { town = 29; } else if (strncmp(map_name, "dicastes01", 3) == 0) { town = 30; } else if (strcmp(map_name, "mora") == 0) { town = 31; } else if (strncmp(map_name, "dewata", 3) == 0) { town = 32; } else if (strncmp(map_name, "malangdo", 5) == 0) { town = 33; } else if (strncmp(map_name, "malaya", 5) == 0) { town = 34; } else if (strncmp(map_name, "eclage", 3) == 0) { town = 35; } if (town >= 0 && town < ARRAYLENGTH(data)) { m = map_mapname2mapid(data[town].map); if (m >= 0 && map[m].flag.nowarpto && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE)) { clif_displaymessage(fd, msg_txt(247)); return -1; } if (sd->bl.m >= 0 && map[sd->bl.m].flag.nowarp && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE)) { clif_displaymessage(fd, msg_txt(248)); return -1; } if (pc_setpos(sd, mapindex_name2id(data[town].map), data[town].x, data[town].y, CLR_TELEPORT) == 0) { clif_displaymessage(fd, msg_txt(0)); // Warped. } else { clif_displaymessage(fd, msg_txt(1)); // Map not found. return -1; } } else { // if you arrive here, you have an error in town variable when reading of names clif_displaymessage(fd, msg_txt(38)); // Invalid location number or name. return -1; } return 0; } -
Enable @go command for group level 1 to be at town only
Dastgir replied to Meister's question in Source Support
It should be if( pc_get_group_level(sd)==1 && map[sd->bl.m].flag.town && !pc_has_permission(sd, PC_PERM_WARP_ANYWHERE) ) { clif_displaymessage(sd->fd,"You can only use @go inside towns."); return 0; } -
If you have Renewal enabled, it have drop modifier. http://irowiki.org/wiki/Drop_System#Level_Factor
-
Can someone decompile this to lua file please :(
Dastgir replied to Eros's question in Client Requests
http://rathena.org/board/topic/73005-lub-to-lua-converter/?p=184809 -
Ask NickyZai for it, because its NickyZai-made lua files and I do decompiling only for Personal Use and not doing for any illegal work/sharing other work without permission.
-
Show ur mob db where you added the mob
-
Red Line Appears when you use navigation system or commands like "/navi" "/navi2" . If using client 2012-04-10 , Then its hardcoded Message Refer to http://rathena.org/board/topic/71122-2012-client-translation/ If using client 2012-04-10+, Then use updated msgstringtable.txt
-
Have to wait till dev fix it or revert back to 17152
-
mobexists() = Checks if Mob Exists/Spawns Naturally
Dastgir replied to joecalis's topic in Source Releases
Its not a custom source(strmobinfo), Its already included in rA -
The Source Code is