Jump to content

AnnieRuru

Members
  • Posts

    2044
  • Joined

  • Last visited

  • Days Won

    51

Everything posted by AnnieRuru

  1. @Emistry yeah, but certain players who knows how to hex their client will know how to connect to the server using their own hexed client .. I never trust manner.txt because its at the client side... editing clif.c file to prevent sending packets inside clif_parse_GlobalMessage, clif_parse_PartyMessage... and the like will definitely ensure they have no way to bypass this sytem if not convinced I could make a diff like this anytime =/ @Budots-RO manner.txt is the simpliest way .... EDIT : below You cheater !! lol ok me lost
  2. - script asdjkasdj -1,{ end; OnInit: bindatcmd "item", strnpcinfo(0)+"::Onaaa"; end; Onaaa: if ( .@atcmd_parameters$[0] == "lalala" ) atcommand "@item "+ .@atcmd_parameters$[1] +" "+ .@atcmd_parameters$[2]; else message strcharinfo(0), "Wrong password"; end; } @item lalala 501 1
  3. prontera,155,180,5 script kjdhfskjdh 100,{ atcommand "@fakename [kakaka] "+ strcharinfo(0); addtimer 5000, strnpcinfo(0) +"::Onlalala"; end; Onlalala: atcommand "@fakename"; end; } refer to .... wiki ... lol ... I just noticed wiki there also doesn't have example lol
  4. mathematics .. there are 4 choices, and if choose 1 correct, your prize get double means the probability of earning back is money is x*2/4 = 1/2x ... ... the more you play ... your money gradually gets lessen by 1/2 ... just kidding color_machine.rar prontera,150,188,5 script kjhdfkjsdhf 100,{ cutin "color_machine_0", 2; if ( countitem(7227) < 5 ) { mes "you must have at least 5 TCG to play"; close2; cutin "", 255; end; } mes "choose a color"; select "Red", "Green", "Blue", "Yellow"; .@r = rand(1,4); cutin "color_machine_"+ .@r, 2; if ( @menu == .@r ) { mes "Correct !"; getitem 7227, 5; } else { mes "Wrong"; delitem 7227, 5; } close2; cutin "", 255; end; }btw I'm just writing for fun, since I haven't write any script using cutin for about ... 5 years ? lol ...
  5. Name: @GmOcean Badge: Helper Lv 1 Reason: he always helps around scripting and source section Approved [Akkarin]
  6. if ( getequipid(EQI_HAND_L) == 1101 && getequipid(EQI_HAND_R) == 1101 ) unequip EQI_HAND_L; should belongs to database support though
  7. support ... use *addtimer script command upon execution which return their name afterwards ... also make OnPCLoginEvent with *addtimer whenever they login ... and search around OnPCStatCalcEvent to get a permanent bonus
  8. OnPCChatEvent oh and, need source modification definitely
  9. abusing addrid // callfunc "F_partynear", <distance>; function script F_partynear { .count = 0; .@origin = getcharid(3); .distance = getarg(0); getmapxy .map$, .x, .y, 0; addrid 2,0, getcharid(1); getmapxy .@map$, .@x, .@y, 0; if ( .map$ == .@map$ && distance( .@x, .@y, .x, .y ) <= .distance ) .count++; if ( getcharid(3) != .@origin ) end; return .count -1; // -1 because it also attach the orignal rid } prontera,155,188,5 script kjdhfkjsdf 100,{ dispbottom callfunc( "F_partynear", 2 ) +""; end; }
  10. http://www.eathena.ws/board/index.php?s=&showtopic=271253&view=findpost&p=1485905
  11. yeah this is source related ... should belongs to scouce support it must have something to do with clif_getareachar_unit inside clif.c ... case BL_NPC: { TBL_NPC* nd = (TBL_NPC*)bl; if( nd->chat_id ) clif_dispchat((struct chat_data*)map_id2bl(nd->chat_id),sd->fd); if( nd->size == SZ_BIG ) clif_specialeffect_single(bl,423,sd->fd); else if( nd->size == SZ_MEDIUM ) clif_specialeffect_single(bl,421,sd->fd); } break;change the nd ... npc name over here ...forgot the exact command at the moment ... my source coding still rusty ok I give up, this doesn't work
  12. omg yeah I surely missed that use @devilsquare in-game to activate the event, just like you are typing a gm-command think I should've add it into 1st post
  13. now that I think about it, I made 1 very similar ... http://rathena.org/board/topic/73755-requesting-3v3-event-semi-bg-type-blue-team-vs-red-team/?p=172997 the only difference is that you ask for it auto-every-hour, but mine has to start manually by gm
  14. I always make a new one last_man_standing.txt
  15. OnReturn: npcwalkto 112,54; end;I'm pretty sure a npc can only move within area_size ... which is 14 by default http://rathena.org/board/topic/75836-unitwalk-destination-out-of-sight/?p=171835 change all those npcwalkto into movenpc for the OnReturn: label, that should fix the bug
  16. pernament title ... you mean change your character name ? http://www.eathena.ws/board/index.php?s=&showtopic=177894&view=findpost&p=979036 btw I think players can also change their name before they login ... ...I got a feeling that this is much better to do by messing source...
  17. http://www.eathena.ws/board/index.php?s=&showtopic=269996&view=findpost&p=1479378 dammit ... I should've search around a little bit before posting it should be if ( upper & 4 == 0 ) { mes "3rd job only"; close; }
  18. ehhh ... I almost sure that I use if ( @wrong_poring_kill < 3 ) {when I script that ... how come it become <= 3 damn Emistry your PM distract me lol gives you 1 rep and she says "add 3 life" ... means can have 4 tries edited the previous script
  19. you want spoon feed poring_catcher.txt here you go
  20. this script should work perfectly the only error I got is [Error]: script:callfunc: function not found! [F_SexMes]which this function can be found inside global function
  21. @Patskie current seal shrine in rA is version 2.3, but his script is 1.7 means he want backward compatible I can help fix developer script sometimes, but this one can't rA has rewritten with new instance system, so I couldn't able to test this outdated script in new rA better just use the latest one =/
  22. change poringlose npc into like this - script poringlose -1,{ OnMobKilled: if ( @wrong_poring_kill <= 3 ) { @wrong_poring_kill++; dispbottom "you killed a wrong poring. life ["+( 3 - @wrong_poring_kill ) +"/3]"; end; } dispbottom "Your out of the game, You did not catch the right Poring !"; percentheal -99,-99; warp "SavePoint",0,0; @wrong_poring_kill = 0; end; }
  23. more like this prontera,155,188,5 script kjdhfdksjf 100,{ setarray .@array1$,"123","456","789"; setarray .@array2$,"abc","def","ghi"; setarray .@array3$,"rst","uvw","xyz"; .@s1 = select( "1:2:3" ); for ( .@i = 0; .@i < 3; .@i++ ) .@menu$ = .@menu$ + getd( ".@array"+ .@s1 +"$["+ .@i +"]" ) +":"; .@s2 = select( .@menu$ ) -1; mes getd( ".@array"+ .@s1 +"$["+ .@s2 +"]" ); close; }
  24. of course, that's the purpose of script request section, anyone can contribute and share ... the actual reason I'm doing 1/2 ass script like this is because I wanna tell you how time-consuming the script going to be =/ EDIT: actually if you can request to do only parts of it, I might consider do little by little since everything there is possible to do ... I just not in the mood to write this kind of long long script atm
  25. the title says "event script" attracts me, but the idea quite lame ... prt_fild01,0,0,0,0 monster Poring 1002, 100, 0,0,papa_jakk::On_kill prt_fild05,0,0,0,0 monster Poring 1002, 100, 0,0,papa_jakk::On_kill prt_fild06,0,0,0,0 monster Poring 1002, 100, 0,0,papa_jakk::On_kill prt_fild08,0,0,0,0 monster Poring 1002, 100, 0,0,papa_jakk::On_kill prontera,155,188,5 script papa_jakk 100,{ if ( merrychristmas != 14 ) { mes "go to prt_fild to hunt poring"; close; } mes "M E R R Y C H R I S T M A S"; getitem 2236, 1; // Santa_Hat merrychristmas = 0; close; On_kill: if ( rand(2) ) { // 50% chance if ( merrychristmas < 14 ) merrychristmas++; for ( .@i = 0; .@i < merrychristmas; .@i++ ) .@form$ = .@form$ + .word$[.@i] +" "; for ( .@i = merrychristmas; .@i < 14; .@i++ ) .@form$ = .@form$ +"_ "; message strcharinfo(0), "words formed : "+ .@form$; } end; OnInit: setarray .word$, "M", "E", "R", "R", "Y", "C", "H", "R", "I", "S", "T", "M", "A", "S"; end; }simple script
×
×
  • Create New...