Jump to content

KeyWorld

Members
  • Posts

    379
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by KeyWorld

  1. KeyWorld

    GorgonCP

    I feel the same thing Trojal. Happy development for this new CP, it's fun to make one from scratch. I hope you the best for this project About features: One thing I love is the page transition system : like github used ( html5 history API, if not present used hash url + ajax, if not change page). I used this in some recents projects and it's a good experience for the user. It could be fun, since you are a HTML5 guy to add this to the CP. All others things are just basics ideas that you can see in all others CPs, so not interesting. @EvilPuncker It's not because you have a module "Ladder" that you must use it lol
  2. You can already add HD sprite in the official client : - The sprite file support RGBA image type, so not need to be limited to a palette of 256 colors. - You can create a large sprite, and scale it after using the act file property.
  3. My fault: delitem2 7420, 1, 1, 0, 0, 254, 0, .cible_cid & 0x00FFFF, .cible_cid >> 16; About the name, you have to reloadscript. Here a fix : // Damn !? No reloadscript ?! if ( .char_name$ == "" ) { donpcevent strnpcinfo(3) + "::OnInit"; sleep2 1; // Execute OnInit before continue. } mes "I give you an apple if you give me " + .char_name$ . "'s skull !"; next; if ( countitem2( 7420, 1, 0, 0, 254, 0, .cible_cid & 0x00FFFF, .cible_cid >> 16 ) ) { mes "Yeah you have the skull ! I give you an apple"; delitem2 7420, 1, 1, 0, 0, 254, 0, .cible_cid & 0x00FFFF, .cible_cid >> 16; getitem 512, 1; } else { mes "Damn, you don't have it..."; } close; OnInit: set .char_name$, "Anonymous"; query_sql("SELECT `char_id` FROM `char` WHERE `name`='" + escape_sql(.char_name$) + "' LIMIT 1", .cible_cid ); if ( !.cible_cid ) debugmes "[skull Trader] Invalid name specify ?"; end;
  4. Just an example: mes "I give you an apple if you give me " + .char_name$ . "'s skull !"; next; if ( countitem2( 7420, 1, 0, 0, 254, 0, .cible_cid & 0x00FFFF, .cible_cid >> 16 ) ) { mes "Yeah you have the skull ! I give you an apple"; delitem2 7420, 1, 0, 0, 254, 0, .cible_cid & 0x00FFFF, .cible_cid >> 16; getitem 512, 1; } else { mes "Damn, you don't have it..."; } close; OnInit: set .char_name$, "Anonymous"; query_sql("SELECT `char_id` FROM `char` WHERE `name`='" + escape_sql(.char_name$) + "' LIMIT 1", .cible_cid ); end; Good luck.
  5. 1) There is no "initnpctimer"/"stopnpctimer" so don't know why it use this name for label on your npc (it's not the cause of your problem). 2) All event (when you kill a goblin) are refered to the npc "Invasion NPC", your npc is "Goblin Invasion". Change the npc name or all events in the script to matches.
  6. Remove your data/texture folders, do @effect 515 and see what happened in your "Gravity" error. It's ugly but works in a lot of cases to locate effect textures and animation files and doesn't need you to know how to reverse your client.
  7. Interesting post, I was looking for this billboard hack for a while, I didn't find a way to figure it out. So thank you for the tips ! Happy to see the progress
  8. Yeah it's possible since switch is hardcode with goto. First way: Change $@__SW%x_VAL, to be $@__SW%x_VAL$ (and all stuff related to decimal value (strtol(), etc. ) to convert directly int to string and don't have problems. Second way: Create a new variable ($@__SW%x_TYPE ?) that will store if the data is a int (value 0) or string (value 1), create a new var $@__SW%x_VAL$ and will do the right tests in the 'case' stuff based on $@__SW%x_TYPE to know if using $@__SW%x_VAL$ or $@__SW%x_VAL. @devs It should be good to use .@vartype to store this king of private data...
  9. Higher memory usage. I didn't test but it will be surprising if javascript manage better its memory than C...
  10. I think you should know how to integrate a website to understand how a webdesign can be (and can not be). Currently your design is just an image and a pain to ass to integrate : - Too much flashy color - Too much fonts. And this fonts aren't default in browsers so you will have to put them as image. - Too big round blocks. - Blocks and font aren't align - ... I can't really say more. I think you should navigate a little in the web to know what designs are good, and what designs are bad... Just experience.
  11. I don't understand ? roBrowser isn't a server, just a client. So basically if you download robrowser and put it in your desktop you can play without access to my website. And I don't care about DDOS on my website, I can share the project with multiple sub-domain, each of them running on separately host. Can you specify the "protect pserver from unwanted guest", I don't understand.
  12. My new ZLIB uncompress function works fine ! Better and faster than the previous. The parsing is now done on a new thread to avoid freeze. The only problem is that I have to rewrite a big part of the GUI (image element was referenced by an url, and now it change to a function) but the map loading will be far faster. One big problem, I'm not able to decrypt the DES encryption in GRF for now (I should fix the problem but I don't know where is the problem for the moment), so some files can't be extract from 0x200 GRF (and can't extract files from 0x103 version). I'm working on a good way to support palette for ingame sprite rendering; create a texture atlas of all needed palette and generate the sprite in a shader to avoid to cache nsprite*npalettes. It will also required a smooth algo in my fragment shader... And since I'm jealous of other map rendering of some other projects (shinro and ragnaXNA), I will work on mine to have a better render. I can now say, I'm on the way to rewrite all things from scratch. ----------------------------------------------------- Another thing, I worked for fun on a signature/avatar generator. It's cool, but since the server has no informations about what the user do I have to build the image clienside (using javascript) and send it to the server after (funny lol). You can see the result in my signature. ----------------------------------------------------- I have a problem that I want to resolved. Someone knows the good way to render in game sprites ? For now I used a Spherical Billboard but it's not the good way to render them (sprites crossing objects when there is a wall/model behind). It seems that the original render is always fixed on the Y axis and is distorted with some maths to appear always front of the camera (and that's why there is buggy distorted thing on the original client when the camera is too much UP or DOWN.
  13. Just a little design I made this evening. @Ind Since we have no informations about what should figure in this design, I just created it with basics infos and hope the structure will be fine. If you want more, or another page, just ask. I don't integrated it because the design can change in future and I don't want to waste time to recode it each time. I prefer focus on the design and IF the design is chose, integrate it. The only thing I don't love is the buttons in the right (server info, download, ...), I will maybe change them later. Cya.
  14. There's no float in the script engine. To support it you have to multiply per 100 (or much). Example: set .@x, 33 * 5 + 300; // .@x/100 = your result Another thing is to assume that 0.33 = 1/3 so: set .@x, 5/3 + 3; But the result here is trunk: Floor(result).
  15. I just re-start to work seriously on this project. For the moment my first objective is to speed up the loading (it's really to slow), so I'm working to implement a local GRF reader (drag and drop your GRFs in your browser and that's all, no download needed from another host). The first optimization (due to a recent update) allow me to parse some part of the GRF file without having to load the whole file (and that fix the crash problem (work with too much memory) explained on another post). The challenge here is to write a fast DES and ZLIB decoder in javascript. I need also to fully support 0x103 grf version. So let's go.
  16. No. My exploit isn't related to SQL injection, it allow to use other users privileges to perform specify actions in the panel. If Calcium' wants to fix it, he can contact me; but I don't know about the future of FluxCP with paradox laziness and rathena new features.
  17. Don't know if it's him but: http://rathena.org/board/user/850-tozorman/ He's not really active, long time I don't talk to him on forums. If your request is related to the fact that his website is currently down (hack), you have to know that all things should be restore in few days (last news I have from him).
  18. registration Check the sex, some panels allow to use the Server 'S' sex. Check if the username is not already in used (be aware this check can be used to find other username) Check the mail Be aware that the player don't create 6500 account in your server (captcha ?) [*]Logging in Block if too may attempt to connect (bad user/bad pass), using a captcha or other check. Don't write a specify message for each error: "bad password" or "bad user", to avoid to find a specify username. [*]Other SQL related tasks Use PDO to block a big part of SQL injection Don't use privileges that you don't need, (don't use a write access when you just need to read data in your sql data). [*]Others Be aware with cookie, get, post, referer, ... data since it can be change clientside. Be aware, when a player request an action in your panel you need to check he asks it before (example, delete character, etc.) it can be used in all current panel to abuse other session to do what you want. Hide PHP errors. etc. etc. There are a lot of exploits possibles and doing a panel is good for learning purpose since you have to check each entry.
  19. You have to change all gettime(4) to change the day (In OnClock.. and OnInit)
  20. Not bad but not awesome too (6.5/10 ?) Some things to have a better render : - The image (in photoshop) is smooth, so you have a little of pink in the top-left border and bottom-right border. - Do you really need a copyright for Gravity on the patcher ? I don't think it's needed. - The progressbar is a little huge and not really designing, can be a little better I think. - When you see this patcher; How do you know it's for a mmorpg game ? Nothing :x About the color, don't know how many "string" color browsers support (and if all support the same name for each). I recommend you to use hexadecimal color, ex: #FF0033.
  21. As I said below, it's not a font; There is no "Ragnarok" font. It's a art design as your avatar.
  22. No, don't remove the onclock.. part, just add the OnInit after and I think it will work.
×
×
  • Create New...