Jump to content

PewN

Members
  • Posts

    892
  • Joined

  • Last visited

Everything posted by PewN

  1. how can i add a sql log here so i can see the total online time of all playerS? this code is from BrianL poring_c01,100,100,0 script TotalTimeOnline 910,{ mes "For your account, you have been online a total of:"; mes callsub(S_SecToTime, @login_time ? (#secs_online + (gettimetick(2)-@login_time)) : #secs_online); close; S_SecToTime: set .@seconds, getarg(0); set .@seconds, .@seconds - set(.@weeks, .@seconds / 604800)*604800; set .@str$, .@str$ + .@weeks+((.@weeks==1) ? " week":" weeks")+", "; set .@seconds, .@seconds - set(.@days, .@seconds / 86400)*86400; set .@str$, .@str$ + .@days+((.@days==1) ? " day":" days")+", "; set .@seconds, .@seconds - set(.@hours, .@seconds / 3600)*3600; set .@str$, .@str$ + .@hours+((.@hours==1) ? " hour":" hours")+", "; set .@seconds, .@seconds - set(.@mins, .@seconds / 60)*60; set .@str$, .@str$ + .@mins+((.@mins==1) ? " min":" mins")+", and "; set .@str$, .@str$ + .@seconds+((.@seconds==1) ? " second":" seconds"); return .@str$; OnPCLoginEvent: set @login_time, gettimetick(2); end; OnPCLogoutEvent: if (@login_time) set #secs_online, #secs_online + (gettimetick(2)-@login_time); end; }
  2. can i request can u resize this sprite i want to increase the size of this sprite a little bit like 30% or 50% please! Download
  3. why my skills doesn't have < > to lower the skills or vice versa check
  4. oh ok thx! not working always the same ~.~
  5. How can i change that? and back it to the normal?
  6. request add logs! like example. [sender NAme ] Gave [item name / Amounts] on [Receiver name]
  7. wow nice can u release it
  8. IMO..for now yes..but once they add a new function to support sending of modified Hash code to server..well that's a hole.. can u help me i don't know how to config it ~.~ check my post is this working on 2010-07-30 Client? cuz other client have bug on wrong password i want to make it on 2010-07-30 please!! @GreenBox. Please support 2010-07-30 client's on the md5 hash
  9. is the md5 hash check working event the md5 password is set to off? // Store passwords as MD5 hashes instead of plaintext ? // NOTE: Will not work with clients that use <passwordencrypt> use_MD5_passwords: no ? ? sir how can i diff it on 2010-07-30 client? thx sir it's now working but i have a suggestion that this support 2010-07-30
  10. not working on me why it's not working on 2011-03-15?
  11. how do i know the hash of my client? please help @BrianL and GreenBOX
  12. is this also block open kore? can u help me about this? how can i set it to the hash? oops. my pass
  13. i edit a texture then i copy it and save it on png then i edit the texture. then after i save it to 256 the image look bad. T_T
  14. Here click there . and you will know where u can place custom weapon sprite!
  15. how can i convert my bmp texture to 256 bmp that doesn't reduce the quality?
  16. recache your mapcache.dat
  17. i want to request a script party warper. Only Party leader can talk to the npc and must have 3 - 5 member. and check the party member if they are online. after that. the npc will warp the party to the dungeon
  18. Custom Weapons? custom weapons doesn't need lua files lol.
  19. ah. so i gonna paste it on addons. thx!
  20. how to install it? cuz i can't understand hmm??
  21. hmmm.. i know that map. its mine!. ~.~
  22. try this Data Execution Prevention (DEP) is a security feature that helps prevent damage from viruses and other security threats by monitoring your programs to make sure they use system memory safely. If you choose to protect all programs, you can still turn off DEP for individual programs. If you suspect that a program does not run correctly when DEP is turned on, check for a DEP-compatible version of the program or an update from the software publisher before you change any DEP settings. 1. Open System by clicking the Start button , clicking Control Panel, clicking System and Maintenance, and then clicking System. 2. Click Advanced System Settings. If you are prompted for an administrator password or confirmation, type the password or provide confirmation. 3. Under Performance, click Settings. Then, click the Data Execution Prevention tab, and then click Turn on DEP for all programs and services except those I select.
  23. thx now i know that one! thx emistry!
  24. I want to after i attach the player. the timer will start then on timerup it will jail. please help the timer doesn't star eeergg!!" Seasonia,151,109,4 script Police 852,{ Main: cutin "ein_soldier",2; mes "[ Police ]"; mes "Do you have a suspect botter?"; next; switch(select("Yes:No")){ case 1: mes "[ Police ]"; mes "Please input the name!"; input .@name$; query_sql "SELECT `char_id` FROM `char` WHERE `name` = '"+.@name$+"'",.@charid; if (!.@charid) { mes "The name is invalid."; next; goto Main; } else set .@charid,0; mes "[ Police ]"; mes "thx for reporting!"; close2; cutin "",255; attachrid( getcharid(3,.@name$) ); callfunc("propaganda",.@name$); case 2: mes "[ Police ]"; mes "Okay bye!"; close2; cutin "",255; end; } } function script propaganda { set .@ranbot,rand(1,5); sc_start SC_BERSERK,10000000,1; atcommand "@option 2"; cutin "ein_soldier",2; initnpctimer; if (.@ranbot == 1) { mes "[ Police ]"; mes "What is your name!"; input .@Input$; if( .@Input$ == strcharinfo(0) ){ mes "Correct."; close2; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; cutin "",255; detachrid; end; } else { mes "[ Police ]"; mes "Wrong!"; close2; cutin "",255; atcommand "@jail "+strcharinfo(0)+""; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; detachrid; end; } } if (.@ranbot == 2) { mes "[ Police ]"; mes "if ^0000FFA^000000 = 3, ^FF0000B^000000 = 7, ^008000C^000000 = 10"; mes "^0000FFA^000000 + ^008000C^000000 - ^FF0000B^000000 = ?"; input .@pwd; if(.@pwd == "6"){ mes "[ Police ]"; mes "Correct!"; close2; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; cutin "",255; detachrid; end; } else { mes "[ Police ]"; mes "Wrong!"; close2; cutin "",255; atcommand "@jail "+strcharinfo(0)+""; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; detachrid; end; } } if (.@ranbot == 3) { mes "[ Police ]"; mes "Type the Code given!"; set .@str$,""; for(set .@i,0; .@i<10; set .@i,.@i+1) set .@str$, .@str$+rand(9); mes .@str$; input .@i$; if (.@i$ == .@str$){ mes "[ Police ]"; mes "Correct!"; close2; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; cutin "",255; detachrid; end; } else { mes "[ Police ]"; mes "Wrong!"; close2; cutin "",255; atcommand "@jail "+strcharinfo(0)+""; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; detachrid; end; } } if (.@ranbot == 4) { mes "[ Police ]"; mes "What is the name of this RO?"; mes " Type the Word given:"; mes " ^0000FF Tykes Pogi ^000000"; input .@server$; if(.@server$ == "Tykes Pogi"){ mes "[ Police ]"; mes "Correct!"; close2; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; cutin "",255; detachrid; end; } else { mes "[ Police ]"; mes "Wrong!"; close2; cutin "",255; atcommand "@jail "+strcharinfo(0)+""; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; detachrid; end; } } if (.@ranbot == 5) { atcommand "@disguise 1063"; mes "[ Police ]"; mes "What kind of monster are you?"; mes "Clue : "; mes " ^0000FFL_n_t_c^000000"; input .@poring$; if(.@poring$ == "Lunatic"){ atcommand "@undisguise"; mes "[ Police ]"; mes "Correct!"; close2; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; cutin "",255; detachrid; end; } else { atcommand "@undisguise"; mes "[ Police ]"; mes "Wrong!"; close2; cutin "",255; atcommand "@jail "+strcharinfo(0)+""; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; detachrid; end; OnTimer0000: announce "Timer Start's Now!", bc_self|#008000; end; OnTimer10000: announce "Last 50 Seconds!!", bc_self|#008000; end; OnTimer30000: announce "Last 30 Seconds!!", bc_self|#008000; end; OnTimer50000: announce "Last 10 Seconds!!", bc_self|#008000; end; OnTimer55000: announce "Last 5 Seconds!!", bc_self|#008000; end; OnTimer60000: atcommand "@jail "+strcharinfo(0)+""; atcommand "@option 0"; sc_end SC_BERSERK; percentheal 100,100; end; } } }
  25. ok thx!
×
×
  • Create New...