Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/21/12 in all areas

  1. File Name: [Package] @itemmap & getitem_map() File Submitter: Xantara File Submitted: 18 Dec 2011 File Category: Source Modifications Content Author: Xantara Information This command will give a specific amount of specified items to all players on the map. I tried to make it a bit more challenging for myself so I have added the capability of giving the same party or guild members of that specific map as well. Makes it easier to script stuff such as events especially those including parties and guilds to participate. Atcommand version now available! Tested on rAthena Trunk 17062 Syntax Script Atcommand Documentation Script Example: Script Command (also found in doc/sample/npc_getitem_map.txt) // Sample NPC to test the custom getitem_map script command // Script and command created by Xantara prontera,156,170,3 script getitem_map test 120,{ mes "input item id"; next; input .@id; mes "input item amount"; next; input .@amt; mes "input type:"; mes "0=everyone, 1=party, 2=guild 3=bg"; next; input .@t; //getitem_map .@id,.@amt,strcharinfo(3),.@t,((.@t==1) ? getcharid(1) : (.@t==2) ? getcharid(2) : getcharid(4)); switch(.@t) { case 1: set .@type_id, getcharid(1); break; case 2: set .@type_id, getcharid(2); break; case 3: set .@type_id, getcharid(4); break; } getitem_map .@id,.@amt,strcharinfo(3),.@t,.@type_id; mes "done"; close; } Atcommand // Everyone one the same map as the who called this command will get 1 Jellopy (ID#607) @itemmap 607 // Everyone one the same map as the who called this command will get 5 Jellopy (ID#607) @itemmap 607 5 // Players who are in the party "myParty" and on the same map as the who called this command will get 2 Yggdrasil Berry (ID#608) @itemmap1 608 2, myParty // Players who are in the guild "hisGuild" and on the same map as the who called this command will get 3 Jellopy @itemmap2 "jellopy" 3, hisGuild Credits Created by Xantara BG Support Suggestion/Idea by Silvester Atcommand Suggestion/Idea by Mysterious Mirror http://downloads.artistic-coder.com/download.php?file=package_getitem_map_v2.0.1_%5BXantara%5D.patch This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Do not mirror without my consent. Click here to download this file
    1 point
  2. File Name: RO Client Tools File Submitter: GreenBox File Submitted: 20 Feb 2012 File Updated: 21 Feb 2012 File Category: Client Tools I've made this utility to extract missing packets from my client(i'm using bRO client) and add them on the packet_db. It reads the packet_db and the client, checks for missing packets and saves those packets into a file(it tries to autodetect packet function by checking old packet_vers id and size). Probably it will not support all clients, so if it doesn't work for you, send me a PM with the client version and I will try to update it to work with your client. Has support for reading Storage Encrypt Key and 0x2b0 login packet Rjindael encryption key(used on some clients). Click here to download this file
    1 point
  3. This is a map I made quite a long time ago. I redid the lightmaps and cleaned things up to make it more appealing as I wasnt as good with lightmaps during the original creation of this map. Make sure to apply the fogparameters.txt file to give the map the atmosphere it was intended to have. Feel free to use this for w/e you need (except for selling purposes) even though it was designed specifically for PvP. Enjoy~ Note: These images do not display the correct look of the map as it is only a preview via BrowEdit. The true image is only shown in-game. Ingame Screenshots The map is also available via the rAthena Download Section: HERE Lava PvP.7z
    1 point
  4. I'm starting here and want to share one simple script. // code.google.com/p/ctscripts/ - script DropExtraDB -1,{ OnNPCKillEvent: //======================== Conf ============================= setarray .@mobids[0],0; // Mob ID's == setarray .@prizeids[0],0; // Droped itens ID's == setarray .@chance[0],0; // Drop chance % == //========================================================== for(set @c,0; @c < getarraysize(.@mobids); set @c,@c+1){ if(killedrid == .@mobids[@c]){ set @d,rand(0,100); if(@d <= .@chance[@c]){ getitem .@prizeids[@c],1; } } end; } } This script adds drops that aren't in db. There isn't much to explain. there's a link in my code that's in the npc header. It's not going to get offline, so, I think i just need to let you with the link and the code box. Be happy with this npc Hope you enjoy
    1 point
  5. Fantastic work Chemical Crush. The quality of your work is growing considerably and among the top I've seen. Keep it up =)
    1 point
  6. but i like women D: not for how they think, but for what they have... (and i don't find guys atractive LOL)
    1 point
  7. sine you are just looking to prevent them from vending or open chatroom within the red rectangle you have drawn.. there is no need to write so much ..... - script Sample -1,{ OnInit: setcell "prontera",147,130,164,194,cell_novending,1; setcell "prontera",147,130,164,194,cell_novending,1; end; } @person.. please make use of codebox for long content ~
    1 point
  8. Удалите пожалуйста.
    1 point
  9. that's why you should go for men
    1 point
  10. ty for the advice! don't worry bro, girls come and go. you'll know what hurts when you brake up with a girl that you are in a relationship in your 1 year togheter bday. (:
    1 point
  11. It should be OR(||) or it wont work unless that person has 2 identity that exist in those 2 maps at the same time.
    1 point
  12. Alright so I have some plans made for new upcoming tutorials: Tutorial 11 - Adding a Duplicate Model that uses Custom Textures (This only shows how to re-use a model so its separate from others and how to apply textures to it via a custom texture) Tutorial 12 - Quick Hotkey Tips / Map Fix Tips / Easy Tricks to Reduce Time Making a Map Tutorial 13 - New Lightmaps Guide (More fluid and concise that covers sun/shadows/colors/intensities/placements/global lighting/casting shadows fixes from objects/getting rid of dark shadows off edges of maps)
    1 point
  13. Ok so I was checking a little npc script and I realize we didn't had a proper way to check if we had enought place on storage for more then 1 item. I'll explain by an exemple : let say we have 500 extra weight left; itemx = 5 n1 = 100 ok we have enought place. itemy = 6, n2 = 3 ok we also have enought place. But how to know if we have both ? if(checkwieght(itemx,n1) && checkwieght(itemy,n2)). we can sadly see that this condition wont fit in our case =/ Of course we could solve probably this by fetching both item weight (getiteminfo()) + our courrent weight and compare to our maxweight, but uh sound painfull, plus we won't even know if we still have place in inventory etc... So I tought of upgrading chekweight to read not 1 item but as many as we want. Here my base : http://pastebin.com/TK0dRs3s Yet I'm not fully satisfied, I'd be sweet if instead reading 1 at the time we could send arrays as parameter. Hope it's be usefull.
    1 point
  14. For the wrong username and password: kindly see you config.php and look for MD5 if it is true set it to false vice versa
    1 point
  15. Well, I forgot about the atcommand suggestion xD; Oppss.. Better late than never right? Anyways, I've updated this source modification to a package that includes both getitem_map script command and itemmap/1/2 atcommand. There were changes to the rAthena SVN that affected the previous versions so this update also provides a fix to make it work on the latest revision (r15625). The documentation might be a bit more confusing now so let me know if there is anything uncertain.
    1 point
  16. So we can be like @ping 0 ms "my test server (127.0.0.1) has amazing ping!"
    1 point
  17. <address>127.0.0.1</address> huh ? you are using this IP ? an online server using this IP to connect ?? and...i didnt saw you used any <image> tag here ??? you cant connect to server ? make sure your server have the save version as you set in the server files ( if you enabled it ) make sure your server read clientinfo.xml and in the correct file / path folder and read GRF / data according to your client settings. Beside...this is a sample how the clientinfo look like Clientinfo
    1 point
  18. Dude, Seriously? She is not the only girl in this world. Don't give up, learn from your mistake.
    1 point
  19. Change set @lang,#lang; to set @lang,1; This script seems to have bugs in certain parts when clicking the 'Cancel' button. Sorry, I'm still not too familiar with this method of array handling, this is as much as I can help. Good luck with the rest =)
    1 point
  20. run the script....use your admin account..go in game..talk to the NPC
    1 point
  21. @Xantara Thank you ! I like this mapflag is very useful!!
    1 point
  22. Already tried it, everytime i restart the server, it reads 0 entries in the item_droprate.txt But when i use reloadmobdb, it reads the entries in the item_droprate.txt that is impossable... i test in my localhost. it always loaded when server boot/relaodmobdb/mapexit did you sure you has add a line + // load common drop function. by [dreamunreal] + mob_common_droprate(); in mob.c's function static void mob_load(void) ??? -------------------------------------------------------------------------------------------------------------------------------------------- Don't know what went wrong, it suddenly works... It's just reading the item_droprate.txt when Dropflag is set to 0... But i'm experiencing a bug... Dropflag 0 is not working... 1000,985,1 that should make elunium .01% drop right? but still 100% for every mob... how about your switch common_drop.adv_flag: 1 you need turn off this switch if you want to set drop rate for any monster who drop this item! if this switch is on. the number must monster' nameid. id 1000 is a dummy monster as my memory. is it?. -------------------------------------------------------------------------------------------------------------------------------------------- this patch base EA... not 3ceam. if you want to use in 3ceam that patch it by your hand!.
    1 point
  23. I added a function to launch robrowser in your website and add your own settings: roBrowser.run({ width: 640, height: 480, popup: false, // if true run in a popup, if false run in your website in the current dom element BGM: true, sound: true, host: 'localhost:6900', // if no specify show two onglets "host-port" and "user-pass" allow_fullscreen: true, grf: 'http://grf.robrowser.fr/en/' // host where is the grf path }); The grf host is customizable, so you can add your own grf with your customs (required a php class to search in grf and convert some files (bmp->png and tga->png).) that will save me bandwidth (even if I will create different host with different ip to reduce usage). And as I said before, open-source ! I work also on a JAVA script to read local GRF files (in the player computer), the HTML5 FileSystem is a little buggy (for moment ?) with huge file.
    1 point
×
×
  • Create New...