Jump to content

Brynner

Community Contributors
  • Content Count

    559
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Brynner

  1. i think no?they use git now.
  2. thanks. this is my first time to use custom HPM Plugins. i got this warning? 7>srcpluginsmapmoblist.c(56): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.7> c:program files (x86)microsoft visual studio 11.0vcincludestdio.h(357) : see declaration of 'sprintf'7>srcpluginsmapmoblist.c(81): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.7> c:program files (x86)microsoft visual studio 11.0vcincludestdio.h(357) : see declaration of 'sprintf'7>srcpluginsmapmoblist.c(93): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.7> c:program files (x86)microsoft visual studio 11.0vcincludestdio.h(357) : see declaration of 'sprintf' is this normal?i use Visual Studio 2012.
  3. he here is the Errors/Warnings Warning 1 warning C4013: 'mapindex_name2id' undefined; assuming extern returning int srcpluginsmapmoblist.c 38 1 mapmoblistWarning 2 warning C4013: 'map_mapindex2mapid' undefined; assuming extern returning int srcpluginsmapmoblist.c 43 1 mapmoblistError 3 error C2223: left of '->id2name' must point to struct/union srcpluginsmapmoblist.c 52 1 mapmoblistWarning 4 warning C4013: 'mob_db' undefined; assuming extern returning int srcpluginsmapmoblist.c 68 1 mapmoblistError 5 error C2223: left of '->mexp' must point to struct/union srcpluginsmapmoblist.c 68 1 mapmoblistWarning 6 warning C4013: 'map_foreachinmap' undefined; assuming extern returning int srcpluginsmapmoblist.c 75 1 mapmoblistError 7 error C2223: left of '->jname' must point to struct/union srcpluginsmapmoblist.c 77 1 mapmoblistError 8 error C2223: left of '->jname' must point to struct/union srcpluginsmapmoblist.c 89 1 mapmoblistWarning 9 warning C4013: 'ACMD_A' undefined; assuming extern returning int srcpluginsmapmoblist.c 105 1 mapmoblistError 10 error C2065: 'mapmoblist' : undeclared identifier srcpluginsmapmoblist.c 105 1 mapmoblistWarning 11 warning C4047: 'function' : 'bool (__cdecl *)(const int,map_session_data *,const char *,const char *,AtCommandInfo *)' differs in levels of indirection from 'int' srcpluginsmapmoblist.c 105 1 mapmoblistWarning 12 warning C4024: 'function through pointer' : different types for formal and actual parameter 2 srcpluginsmapmoblist.c 105 1 mapmoblist
  4. here is the code for this HPM Plugins but i think it is outdated. #include <stdio.h>#include <string.h>#include "../common/HPMi.h"#include "../map/script.h"#include "../map/pc.h"#include "../map/map.h"HPExport struct hplugin_info pinfo = { "mapmoblist", // Plugin name SERVER_TYPE_MAP,// Which server types this plugin works with? "1.0", // Plugin version HPM_VERSION, // HPM Version (don't change, macro is automatically updated)};static int count_mob(struct block_list *bl, va_list ap) // [FE]{ struct mob_data *md = (struct mob_data*)bl; int id = va_arg(ap, int); if (md->class_ == id) return 1; return 0;}ACMD(mapmoblist){ char temp[100]; bool mob_searched[MAX_MOB_DB]; bool mob_mvp[MAX_MOB_DB]; // Store mvp data.. struct s_mapiterator* it; unsigned short count = 0, i, mapindex = 0; int m = 0; memset(mob_searched, 0, MAX_MOB_DB); memset(mob_mvp, 0, MAX_MOB_DB); if (message && *message) { // Player input map name, search mob list for that map mapindex = mapindex_name2id(message); if (!mapindex) { clif->message(fd, "Map not found"); return -1; } m = map_mapindex2mapid(mapindex); } else { // Player doesn't input map name, search mob list in player current map mapindex = sd->mapindex; m = sd->bl.m; } clif->message(fd, "--------Monster List--------"); sprintf(temp, "Mapname: %s", mapindex_id2name(mapindex)); clif->message(fd, temp); clif->message(fd, "Monsters: "); //Looping and search for mobs it = mapit_geteachmob(); while (true) { TBL_MOB* md = (TBL_MOB*)mapit->next(it); if (md == NULL) break; if (md->bl.m != m || md->status.hp <= 0) continue; if (mob_searched[md->class_] == true) continue; // Already found, skip it if (mob_db(md->class_)->mexp) { mob_searched[md->class_] = true; mob_mvp[md->class_] = true; // Save id for later continue; // It's MVP! } mob_searched[md->class_] = true; count = map_foreachinmap(count_mob, m, BL_MOB, md->class_); sprintf(temp, " %s[%d] : %d", mob_db(md->class_)->jname, md->class_, count); clif->message(fd, temp); } mapit->free(it); clif->message(fd, "MVP: "); // Looping again and search for mvp, not sure if this is the best way.. for (i = 1000; i < MAX_MOB_DB; i++) { //First monster start at 1001 (Scorpion) if (mob_mvp[i] == true) { count = map_foreachinmap(count_mob, m, BL_MOB, i); sprintf(temp, " %s[%d] : %d", mob_db(i)->jname, i, count); clif->message(fd, temp); } } return true;}/* Server Startup */HPExport void plugin_init (void){ clif = GET_SYMBOL("clif"); script = GET_SYMBOL("script"); battle = GET_SYMBOL("battle"); if( HPMi->addCommand != NULL ) {//link our '@sample' command HPMi->addCommand("mapmoblist",ACMD_A(mapmoblist)); }} thanks you.
  5. i think this features is already applied for 2014 client?
  6. is this normal? he has no sitting sprite position?
  7. there is a missing maillist2_bg.bmp maillist2_bg.bmp
  8. does Enable Proxy Support already fix now? and also the Only First Login Background and Load Custom lua files instead of iteminfo.lub does not work for 2014 clients.
  9. Brynner

    IPB database

    i think the license of IPB is not transferable. or you can contact the IPB for more support regarding on your issue at what you should do since you did not purchase it from them. or try to visit your friend if he/she's not online.
  10. lol it works now. i think there is a bug regarding on the accessory for the shadow system.
  11. at least some of the shadow features works with this costume system.
  12. hmmm how about on the name? how can i make just like this? YourName Costume's head gear. does not work for the Shadow Accessory. the client crashed. but the rest it works fine.
  13. http://herc.ws/board/topic/4124-how-to-fix-the-commands-for-2013-client/
  14. how to fix this error. [Error]: script_add_str: detected possible use of wrong case in a script. Found'hp', probably meant to be 'Hp' (in 'npccustomAleconROdedicated_npc_2.txt').[Error]: script_add_str: detected possible use of wrong case in a script. Found'maxhp', probably meant to be 'MaxHp' (in 'npccustomAleconROdedicated_npc_2.txt').[Error]: script:op_2num: division by zero detected op=C_DIV i1=0 i2=0[Debug]: Source (NPC): DedicatedNPCTimer (invisible/not on a map)
  15. is this possible to include the shadow system? and also regarding on the name? how can i make just like this. sd->status.name, "Costume" so the new display name is YourName Costume's head gear.
  16. hmmm i'm having an issue with your diff patcher. when i use your patcher. after i type my password on login screen. client crashed. how to fix that? i think the crashed cause be Enable Proxy Support
  17. oh i see. in other langtype this issue is not working. hmmm there is another issue with langtype 0. do you have any idea on how to fix this?
  18. i just notice that some / commands is not working properly. just like /showname im using 2013-08-07aRagexe.exe. thank you in advance.
  19. before i use Hercules-12.sln but now i getting error with this now.
  20. every time i make a clean i got this. i have no idea how to fix this. 1>------ Clean started: Project: plugin-HPMHooking, Configuration: Debug Win32 ------1>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.2>------ Clean started: Project: plugin-sample, Configuration: Debug Win32 ------2>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.3>------ Clean started: Project: map-server, Configuration: Debug Win32 ------3>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.4>------ Clean started: Project: mapcache, Configuration: Debug Win32 ------4>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.5>------ Clean started: Project: login-server, Configuration: Debug Win32 ------5>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.6>------ Clean started: Project: char-server, Configuration: Debug Win32 ------6>Project file contains ToolsVersion="12.0". This toolset may be unknown or missing, in which case you may be able to resolve this by installing the appropriate version of MSBuild, or the build may have been forced to a particular ToolsVersion for policy reasons. Treating the project as if it had ToolsVersion="4.0". For more information, please see http://go.microsoft.com/fwlink/?LinkId=291333.========== Clean: 6 succeeded, 0 failed, 0 skipped ==========
  21. example. you can put download. to make it ?module=main&action=download
  22. its because drawmove themes is only works for xantara fluxcp. which is for rathena emulator.
  23. thanks for that. but its not what im looking for. i think its a callfunc script. by the way problem solve.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.