Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 11/13/12 in all areas

  1. Hi Ai4rei, I'd like to ask something about WDGClientTranslate, you said that the string can be extended by several more characters. So if the original string is 4 letters long, how to calculate the extra chars?
    2 points
  2. Things are moving since september : I have now a little more time to work on roBrowser. I re-wrote a good part of the code, to make it better, faster and stronger. I am focus on improving the render for now, working on the tool "Map-Viewer", I don't add the network part to the project yet. I was really jealous of other RO client project renderer (ragnaXNA, Shinryo's Client): smooth, beautiful... So I add a few things to my map-viewer : smooth normal, model opacity, lightmap on walls, tiles color, ... I'm now able to load GRFs from computer (~1sec to load a 1.3 giga GRF), I did some work on the zlib unpacker in javascript. The online version is still available to download a file from a host if you don't set a GRF OR if the file isn't found in GRFs. You can see the map-loader here. [media=] [/media]Note: I use the GRF from an old server, currently close, no pub intented. The video is a little buggy, I will try to do another one later, more smoothy. I currently work on speeding up the loading, it will be in theory 10 times faster after my modification, I will see in the next days. After this, I will only need to work on adding model animation to finish the map-viewer part.
    2 points
  3. isnt that you can simply get the view id here ? getiteminfo( <itemID>,14 )
    2 points
  4. Lalala~ i haved to remake all the f*cki*g skin.. but it's complete *-* (almost 94% actual textures) Credits to Dastgir user for starting the translation of them. My skin; english version (booking of 2012-03-07 is incomplete in the english version.) Link: skinre.rar My skin; spanish complete version. (or almost?) SVN: Link Reply to the post or give me an , that is my reason for being here. xD
    1 point
  5. Our char-server can hold multiple zone-servers and handle the client connection correctly between them, but the switch process between zone-servers is a big fail. During this process the map_session_data struct which holds temporary session data aren't synced with the new zone -server causing session data loss. Temporary script variables(@var) aren't synced too, so scripts operating with temporary data between zone-servers will not work too. Also we have a third but minor problem: query_sql, as many scripts query the login table(VIP scripts) we may need another command to query the "main" database, though the login-server. This issue remembered all those problems, now we need to ask: Is multi-zone server really needed? If yes, what is the best design to fix those problems?
    1 point
  6. This can be closed. Your guide don't really helped me, but i found my mistake by myself. Thanks anyway.
    1 point
  7. script.c else if(st->state != END && st->rid){ //Resume later (st is already attached to player). if(st->bk_st) { ShowWarning("Unable to restore stack! Double continuation!\n"); //Report BOTH scripts to see if that can help somehow. ShowDebug("Previous script (lost):\n"); script_reportsrc(st->bk_st); ShowDebug("Current script:\n"); script_reportsrc(st); script_free_state(st->bk_st); st->bk_st = NULL; } } it just like OnPCDieEvent topic just now when having multiple event labels trigger on same player, that error message is "event queue full" this one however can be reproduce by prontera,154,183,5 script asdas 100,{ attachrid 2000000; mes "asdasdasd"; next; mes "asdasdas"; close; } dual-client from account_id 2000001 click on that npc it keep sending dialog to account_id 2000000 [Warning]: Unable to restore stack! Double continuation! [Debug]: Previous script (lost): [Debug]: Source (NPC): asdas at prontera (154,183) [Debug]: Current script: [Debug]: Source (NPC): asdas at prontera (154,183) in other words, some of your GM in your server send npc:bk twice to your player to perform a bot-check this error should be consider minor because it is an utility script ... and I don't think this will harm your server at all but if this error happens in an event script than its another story ...
    1 point
  8. Nice work Keyworld. I love the easy-parse GRF function =)
    1 point
  9. prontera,154,183,5 script headgear finder 100,{ mes "input a headgear item_id"; next; input .@upper_headgear; // try 2220 if ( !( .@nb = query_sql("select id, name_japanese from item_db where equip_locations & 256 and view = ( select view from item_db where equip_locations & 256 and id = "+ .@upper_headgear +" )", .@item_id, .@item_name$ ) ) ) { mes "no headgear was found"; close; } mes "these are the items that has same view_id when you input that item_id"; next; for ( .@i = 0; .@i < .@nb; .@i++ ) .@menu$ = .@menu$ + .@item_name$[.@i] +":"; .@pick = select( .@menu$ ) -1; mes "you chose "+ .@item_name$[ .@pick ]; getitem .@item_id[ .@pick ], 1; close; } well better don't complicated the topic, so just do something like this if your input only ask in numeric value, then use input .@numeric_var <-- without the '$' at the end then the user will find it hard to inject your script because the input can only accept numbers and yes, your script at 1st post is possible to get SQL injection ... but I dunno what command should I input to inject that script ... lol because you run query_sql 3 times with different functions ...
    1 point
  10. pt-br // list-boxes TEXT_NUMSAMPLETYPE_48CHANNEL, "48 Canais" TEXT_NUMSAMPLETYPE_32CHANNEL, "32 Canais" TEXT_NUMSAMPLETYPE_16CHANNEL, "16 Canais" TEXT_SOUNDMODE_NOSOUND, "Sem áudio" TEXT_SOUNDMODE_2DSOUND, "Usar som 2D" TEXT_SOUNDMODE_3DSOUND, "Usar som 3D" TEXT_SPEAKERTYPE_2SPEAKER, "2 Caixas de som" TEXT_SPEAKERTYPE_HEADPHONE, "Fone de ouvido" TEXT_SPEAKERTYPE_SURROUND, "Surround" TEXT_SPEAKERTYPE_4SPEAKER, "4 Caixas de som" TEXT_DIGITALRATETYPE_22K, "22k" TEXT_DIGITALRATETYPE_11K, "11k" TEXT_DIGITALRATETYPE_8K, "8k" TEXT_DIGITALBITSTYPE_16BIT, "16 bit" TEXT_DIGITALBITSTYPE_8BIT, "8 bit" // tabs TEXT_TAB_GRAPHICS, "Gráficos" TEXT_TAB_SOUNDS, "Sons" TEXT_TAB_SETTINGS, "Configurações" TEXT_TAB_ABOUT, "Sobre"
    1 point
  11. K, i got your point now, I'll look into it. Thanks for reporting.
    1 point
  12. I think it'll require more staff to run it than the amount of staff we currently have.. especially since most of our staff are really focusing on the development of the emulator and running the forum. Hosting something like this will kinda delay any updates done to the emulator =/
    1 point
  13. I'm aware of that oddity, but that's just how the official setup works.
    1 point
  14. Any language is fine, thank you very much. If you want, you can take on the whole thing, since my copy-paste attempt probably is not very accurate.
    1 point
  15. Try typing /stateinfo whilst in-game.
    1 point
  16. There are new bits in addition to the existing ones to translate, for those who feel like it: // list-boxes TEXT_NUMSAMPLETYPE_48CHANNEL, "48 Channel" TEXT_NUMSAMPLETYPE_32CHANNEL, "32 Channel" TEXT_NUMSAMPLETYPE_16CHANNEL, "16 Channel" TEXT_SOUNDMODE_NOSOUND, "No Sound" TEXT_SOUNDMODE_2DSOUND, "Use 2D Sound" TEXT_SOUNDMODE_3DSOUND, "Use 3D Sound" TEXT_SPEAKERTYPE_2SPEAKER, "2 SPEAKER" TEXT_SPEAKERTYPE_HEADPHONE, "HEADPHONE" TEXT_SPEAKERTYPE_SURROUND, "SURROUND" TEXT_SPEAKERTYPE_4SPEAKER, "4 SPEAKER" TEXT_DIGITALRATETYPE_22K, "22k" TEXT_DIGITALRATETYPE_11K, "11k" TEXT_DIGITALRATETYPE_8K, "8k" TEXT_DIGITALBITSTYPE_16BIT, "16 bit" TEXT_DIGITALBITSTYPE_8BIT, "8 bit" // tabs TEXT_TAB_GRAPHICS, "Graphics" TEXT_TAB_SOUNDS, "Sounds" TEXT_TAB_SETTINGS, "Settings" TEXT_TAB_ABOUT, "About" German and Czech are already done.
    1 point
  17. Hi xiaofu, Please go to this site; http://whatismyip.com Then use this IP to replace all the 'login_ip', 'char_ip', and 'map_ip' values. After this is done; make sure that you have the port correctly forwarded for your home computer. If you have not done this yet, you may go to this following site to find out how to do this for your router; http://portforward.com/
    1 point
  18. Lack of skill timers in newest clients is lack of proper server-side support. Old packets default to zero total-duration, thus do not show the timer.
    1 point
  19. Squishyyy: Whether your OS is 32-bit or 64-bit does not matter, as long Gravity does not release a 64-bit version of the RO client. MuzTank: Do not change the OptionInfo.lub in \RO\System . Also the registry part (yes the Lua setup still saves few settings in the registry) needs Admin rights, which the setup should ask for. Actually, you should not even be able to run the setup without administrator rights.
    1 point
  20. Have tested the most recent version with a clean 2012-04-10aRagexeRE and it starts without warnings, with specified resolution (ex. 800x600). Taking the second error message into account, you are probably missing option defaults lub file, or rather the entire system folder in your RO folder. Following files should be in there: \RO\System\MsgString.lub \RO\System\OptionInfo.lub (read-only setup defaults + OptionInfoList and CmdOnOffList declaration) \RO\System\Towninfo.lub (2nd error message) \RO\System\itemInfo.lub \RO\System\Font \RO\System\Font\RixSquirrel_12.eot \RO\System\Font\RixMiniHeart_10.eot \RO\System\Font\RixNHCgogo_10.eot \RO\System\Font\RixSquirrel_10.eot \RO\System\Font\RixMagic_10.eot \RO\System\Font\RixLoveangel_10.eot \RO\System\Font\RixLoveangel_12.eot \RO\System\Font\RixJJangu_10.eot \RO\System\Font\RixKid_10.eot \RO\System\Font\RixFreshman_10.eot \RO\System\Font\NHCgogo_10.eot \RO\System\Font\NHCgogo_12.eot \RO\System\Font\RixDiary_10.eot \RO\System\LuaFiles514 \RO\System\LuaFiles514\OptionInfo.lub Override settings (OptionInfo.lua) saved by Setup and Client are in SaveData folder. Because the official setup does this as well to keep settings written by the client.
    1 point
×
×
  • Create New...