-
Posts
379 -
Joined
-
Last visited
-
Days Won
11
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by KeyWorld
-
@KeiKun It's bad to implement some things like this (the script engine is already enough weird). BUT you can make functions for stuff like this. function equal { set .@i,1; while ( getarg(.@i,0) == getarg(.@i,1) ) { if ( getarg(.@i) != getarg(0) ) return 0; set .@i, .@i+1; } return 1; } if ( equal(.@a,.@b,.@c,.@d,.@e) ) { }
-
Good job Just two things: - It seems that you use a hack to clean the canvas canvas.width = canvas.width; . But it cause problem on some browser (tested on webkit): it's the same value, so it doesn't clean the context, use : <canvas2D>.clearRect(0,0,<width>,<height>); - To improve perf, you should use canvas2D method (rotate, scale, globalAlpha, drawImage, ...) instead of manipulating all pixels for each frames. Keep it up
-
Why not a Pay2Administrate server mod ? -> Admins have to pay every month rathena's devs to run the emulator (sarcastic). In my own mentality (and a mentality shared by a big part of the french community) administrate athena/rathena is only to have fun and pleasure and share your work and passion with your players. Not to gain money and manage a business (if so, buy the Ragnarök Online licence and run your own official server). Just my two cents.
-
Hi. Remove all occurrences of this part on your script: if (agitcheck() || agitcheck2()) { mes "Sorry you cant enter during woe time."; close; } Note: (Use codebox instead of quote). Edit: too late.
-
It's nice but... 2.5mo my god ! It's two times more than my website (including images, backgrounds, css, javascript).
-
It's not the good section, maybe someone should move to script support/request. @grabs123 I don't understand what you want, add a warp ? ** Define a warp point <from map name>,<fromX>,<fromY>,<facing>%TAB%warp%TAB%<warp name>%TAB%<spanx>,<spany>,<to map name>,<toX>,<toY>
-
Name: Vincent NickName: KeyWorld Age: 21 (22 in ~one month) Location: Paris, France About RO: I started playing RO (in 2006) on FRO (a french pserver administrated by MagicalTux (you know the man who created GRF Builder)). I join officially eathena.ws on 2008 - even if I started working on eathena in 2007 on some projects. About me: I'm a web developer enthusiast with new (web) technologies and also a good designer when I'm inspired (yeah I'm not just a no-life coder with a white code in a black screen ! I love colors ). I'm someone who love open-source projects and release stuff for free; I'm here to have fun and contribute not to gain money and abusing people. I'm a bad guitarist since I was 9 year old (and I continue to make the noize 8D !) and also have a pretty girlfriend whom I am madly in love <3
-
src/map/skill.c case BA_FROSTJOKER: sc_start(bl,SC_FREEZE,(15+5*skilllv),skilllv,skill_get_time2(skillid,skilllv)); Change the (15+5*skilllv) to what you want
-
I didn't reply since it was in "Filipino Support", but now I can As far I know, Jikari Patcher is based on Neoncube Patcher. In neoncube patcher to delete a file you just have to add a "*" after the path in the patch_list :
-
I think something like this (not tested): getitem2 <itemid>, <amount>, 1, 0, 0, 255, 0, <group id> & 0xffff, <group id> >> 16; Example: // Apple Group 1 getitem2 512, 5, 1, 0, 0, 255, 0, 1 & 0xffff, 1 >> 16; getitem2 512, 3, 1, 0, 0, 255, 0, 1 & 0xffff, 1 >> 16; // should give you (5+3) apple for the group 1 // Apple Group 2 getitem2 512, 4, 1, 0, 0, 255, 0, 2 & 0xffff, 2 >> 16; getitem2 512, 2, 1, 0, 0, 255, 0, 2 & 0xffff, 2 >> 16; // should give you (4+2) apple for the group 2 // Apple Group 3 getitem2 512, 1, 1, 0, 0, 255, 0, 3 & 0xffff, 3 >> 16; getitem2 512, 9, 1, 0, 0, 255, 0, 3 & 0xffff, 3 >> 16; // should give you (1+9) apple for the group 3 // etc. There is no clean solution for doing what you want (I think).
-
The only way I see is to say that this item was created by someone ( getnameditem() ).
-
BrianL's Name Change NPC - check for spaces at the beginning/end of name
KeyWorld replied to Orc Lord's question in Scripting Support
It's SOH (see an ascii table, should not be used in all charset and langtype. I prefer to use x00 but the null byte stop the script engine (don't know if it should be report as bug). -
I think it's link with db/castle_db.txt
-
1) When .@i equal "0" the array size isn't increment (so it erase this value after). - set .@exchange[getarraysize(.@exchange)], .@i; + set .@exchange[getarraysize(.@exchange)], .@i+1; - set .@count, .@count + doRefund(.@exchange[.@i]); + set .@count, .@count + doRefund(.@exchange[.@i]-1); 2)Equipment aren't stackable but are cumulate with countitem2... ( use < instead of != ) - if (countitem2(@inventorylist_id[.@i],@inventorylist_identify[.@i],@inventorylist_refine[.@i],@inventorylist_attribute[.@i], 0,0,0,0) != .@amt) { + if (countitem2(@inventorylist_id[.@i],@inventorylist_identify[.@i],@inventorylist_refine[.@i],@inventorylist_attribute[.@i], 0,0,0,0) < .@amt) {
-
np++ Replace by using Regular expression
KeyWorld replied to QQfoolsorellina's question in Third Party Support
I don't know how np++ work with regular expression but it should be something like this: search: ,0x([a-fA-F0-9]+),(\d),(\d),(\d), repace: ,0x\1,\2,\3,0, -
BrianL's Name Change NPC - check for spaces at the beginning/end of name
KeyWorld replied to Orc Lord's question in Scripting Support
Compare() can do this too (but not with ||chris|| method): if ( compare( "x1" + .@name$, "x1 " ) || compare( .@name$ + "x1", " x1" ) ) { mes "You can not put a space at the beginning or end of your name"; close; } -
I think it's better to do this by updating db/exp.txt, but... why not ? It can help busy persons.
-
[Resolved] Lined lightmaps? (As if there is a shadow casted on a straight line)
KeyWorld replied to Truly's question in Graphics Support
It's BrowEdit fault, an error on the light generation. I never understand why BrowEdit do a "light object" system for generate lightmap, it's just a second layer on the map (it's possible to generate it with photoshop, it's just a <width*height*64>px image apply to the map). The real "light object" system isn't in BrowEdit, don't know why. -
I didn't know that ToastofDoom was active again, long time I don't see him or Annie on the board (miss you...). No offense, but be sure he know C before saying to put him Dev (It's not because you released 2-3 source snippets that you can be a Dev). Agree about String command package and happy if he joins the move
-
The problem (as mentioned in the first post) is Javascript, yeah I can use it to encrypt files/packets etc. but... It's javascript : it's not compile, I can pack/obfuscate it but it's easily to extract and get the encryption method with just some minutes/seconds. I mentioned that it required a good connection because all things are download from my host, put after in cache to avoid download them again, but you have to download it (that's why I worked on alternative as my javascript GRF Viewer to read GRF directly from player computer). Otherwise it required just a recent browser (just Chrome only for moment, but I'm working on Firefox 8.0 that do some impressive works with their latest update) and a up to date GPU (that support OpenGL ES 2.0). I try do to the maximum of stuff in GPU to have a better framerate because javascript is slow. About RSM files, no limitation, just a GPU question (about RSM, I don't support animation and opacity for moment). About Harmony it's the same think I talked in this post, It's easy to extract the extraction code from javascript, so if roBrowser work on Harmony server, Bots will extract the encryption part of my code to able to connect. You can contact me on [email protected], a long time I don't check the other mail (I should put a redirection on it...)
-
Hi ! Here my latest online prototype: RSM-Viewer. It allow you to visualize RSM file in your browser without downloading an executable using javascript and WebGL. It required a modern browser (just working on FF >= 8.0 and Chrome for moment) and your graphic drivers have to be up to date (need to support OpenGL ES 2.0). Two ways to use it: Drag and drop a RSM file from your desktop into your browser (I load textures from my own online GRF so custom textures aren't display). Load a RSM from the URL, specify the file path (without the "model/") in the URL after a "#", example: http://robrowser.com/prototype/RSM-Viewer/#±æµåÀü/¾Ëµ¥_°Ç¹°¿Ï¼º.rsm Animations aren't play. It's possible to zoom using the mouse wheel. Have fun~
- 1 reply
-
- 3
-
-
roBrowser is just a client (running in a browser), not a server ! There is a lot of check client-side to avoid cheat but don't forget that there is also all the server-side check. So yeah you can modify zeny-items with some cheat softwares as all current servers but don't forget that this modifications aren't save in the server. The only reason than I don't support Anti-Cheat solution is just that I don't know how they encrypt packets. And if ever I'll find this encryption key, all bots will use it and the encryption method will change.
-
Doing this change will also invert the player life (the green rectangle at the bottom of player position): green-red : SP; blue : HP, invert the display on the extended version of base_win_mini. And I'm sure the client do some check about player HP/SP before sending skills. Be aware.
-
If I remember correctly it's also a client issue (the client avoid to send talk packet to server when you are berserk)