Jump to content

Daegaladh

Developer
  • Posts

    239
  • Joined

  • Last visited

  • Days Won

    17

Everything posted by Daegaladh

  1. I just wanna know what differences are between Byteflux's, Xantara's and JayPee's scripts and which do you think is the best and the most secure, regardless of cost. Thanks.
  2. I made a little mod for GMs to hide on login, but have a little problem: when you log on a pvp map, the pvp things (time attack logo and 1/1) won't show and I cannot target players without shift. Any ideas of what is causing this and how to fix it? Thanks. Here's my code: pc.c - if (pc_can_use_command(sd, "hide", COMMAND_ATCOMMAND)) - sd->status.option &= (OPTION_MASK | OPTION_INVISIBLE); - else sd->status.option &= OPTION_MASK; /** * Check if player have any item cooldowns on **/ pc_itemcd_do(sd,true); + //Hide on login + if (pc_can_use_command(sd, "hide", COMMAND_ATCOMMAND)) { + sd->sc.option |= OPTION_INVISIBLE; + sd->vd.class_ = INVISIBLE_CLASS; + clif_changeoption(&sd->bl); + } // Request all registries (auth is considered completed whence they arrive) intif_request_registry(sd,7); return true;
  3. I think it would be useful to add a can_attack permission, so you can prevent GMs to attack monsters or players (to prevent corruption acts like: tanking players, get items to give to players, etc...). I've just coded it by myself, so here's the code Edit: I think I should add a check to pets, homunculus, mercenaries and elementals too... pc_groups.c { "use_changemaptype", PC_PERM_USE_CHANGEMAPTYPE }, { "all_commands", PC_PERM_USE_ALL_COMMANDS }, { "receive_requests", PC_PERM_RECEIVE_REQUESTS }, + { "can_attack", PC_PERM_ATTACK}, }; /** pc.h PC_PERM_USE_CHANGEMAPTYPE = 0x04000, PC_PERM_USE_ALL_COMMANDS = 0x08000, PC_PERM_RECEIVE_REQUESTS = 0x10000, + PC_PERM_ATTACK = 0x20000, }; #define pc_setdead(sd) ( (sd)->state.dead_sit = (sd)->vd.dead_sit = 1 ) clif.c : case 0x00: // once attack case 0x07: // continuous attack + if( !pc_has_permission(sd, PC_PERM_ATTACK) ) + return; + if( pc_cant_act(sd) || sd->sc.option&OPTION_HIDE ) return; if( skilllv < 1 ) skilllv = 1; //No clue, I have seen the client do this with guild skills :/ [skotlex] + if( !pc_has_permission(sd, PC_PERM_ATTACK) ) + return; + tmp = skill_get_inf(skillnum); if (tmp&INF_GROUND_SKILL || !tmp) return; //Using a ground/passive skill on a target? WRONG. /// There are various variants of this packet, some of them have padding between fields. void clif_parse_UseSkillToPos(int fd, struct map_session_data *sd) { + if( !pc_has_permission(sd, PC_PERM_ATTACK) ) + return; if (pc_cant_act(sd)) return; if (pc_issit(sd))
  4. The job name thing is because the "Increase Headgear View ID" patch, so disable it or use a lower number (2000 is ok).
  5. Anybody knows what to change to use PDT instead of IPN in lib/PaymentNotifyRequest.php? I know variables are basically the same for PDT, but I'm not sure about what to change to make FluxCP works with PDT. I want to do it because Paypal only allows 1 IPN URL, and I have more than 1 website. I found an easier way to do it using IPN. In saved buttons, you can set notify_url=http//myflux.com/?module=donate&action=notify and disable global IPN in profile. For another site, do the same, create another button and set notify_url=http//myotherflux.com/?module=donate&action=notify Of course, you have to overwrite FluxCP's default paypal button with your saved one in data\paypal\button.php
  6. -@ipban -Split npc folder into renewal and pre-renewal, because many scripts have been updated to renewal and there are no pre-renewal version of them, also quest exp is different in pre and re. -Focusing on new exes support
  7. I know, but I mean, for example: I have flux installed, and only want to update to the lastest rev. With github I have to do it manually. :S I think it would be better to use svn and make pre-packed downloads periodically for people that dont use svn.
  8. On which revision of fluxcp is based of, 1097 right? Btw, why github instead of svn? I think it's easier for users to keep their fluxcp updated
  9. English: First, this is the international forum section, if you're looking for spanish support, please use the correct one. And second, this is rAthena support boards, not 3ceam... so there's no support for that mod. Español: En primer lugar, esto es la sección internacional del foro, si estás buscando soporte en español, por favor, utiliza la sección correspondiente. Y en segundo lugar, esto es el foro de soporte de rAthena, no de 3ceam... así que no se da soporte para este mod. @ROZEN, try using older clients then :S
  10. packet_db_ver should be 27 for that exe. Anyway I cant get any exe after march 2011 to work :S please, tell me if it works for you, thanks.
  11. Oh thanks, I didn't read that topic. Anyway someone should post it in control panel downloads or somewhere more visible.
  12. Pues yo no creo que la sección hispana llegue a ningún sitio, es absurdo tener 2 comunidades hispanas del RO, no hay más que ver el número de post aquí y el número de redirecciones a DivineRO...
  13. I already tried to put it in different places into index.php, but it only gives me different errors...
  14. I did and doesn't work... At the moment I'm trying in another way, changing the place require_once("SSI.php") is placed (it's supposed that it needs to be somewhere before the html label http://docs.simplema...0#post_ssi_call). I've tried to put it in the root index.php, on flux.php and some other places, and when I did it worked, but leaves a lot of error because headers from smf and flux are colliding: Any ideas about where it should be placed?
  15. Yes, it works but isn't a solution, it fix the news, but broke the rest of my web because it's coded in utf-8... XD I need Flux to get the news directly in utf-8, but dunno how... I have no idea why is not receiving the news correctly.. if you make a simple web to test using utf-8, and loading news from SSI, it works perfectly... it get the news in utf-8 and show them correctly... But not in flux! ,___, seems somehow it suddenly changes into iso-8859-1... why? ._. Thanks anyway
  16. Still can't fix it :S Please, anybody have ever done a FluxCP+SMF integration can tell how to do it? Maybe I'm doing something wrong :S Thanks
  17. Doesn't work... I've tried to send the header directly from ssi.php, from themes/default/main/index.php too... a lot of things... nothing seems to work, I'm tottaly lost :S I've searched with ultraedit inside all files for things that could be screwing up the charset and found nothing unusual... Edit: I've tried htmlspecialchars($news['subject']) that is supposed to change special characters to html code, like á and still appears as "?"... this has nosense .___. Seems flux change the text AFTER it's obtained from SSI... WTF?
  18. Hi, I'm doing my website based on flux, and started adding a news system using SSI.php from my SMF forum, all works fine (I did this a lot of times in common websites), except a weird thing: Paragraphs with symbols like ¿¡áéíóú, disappears, or appears as "?", although I've set the header as UTF-8, and all my files are enconded to UTF-8 without bom. I've tried to load only my template, without flux flunctions, and works fine, so it seems Flux is screwing up something... Any ideas? Thanks
  19. What's the lastest client that works fine with eA? (a stable one, of course) Thanks
×
×
  • Create New...