-
Posts
444 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Everything posted by Lord Ganja
-
Is that the only way? :/
-
Is there anyway to return the Mini item description window? I'm using 2013-12-23 client and I have this huge item description window. This is my current item desc window: And I wanted it to be like this: Is there anyway to do that? Thanks in advance!
-
What's the latest src mod here to set a max sp for asura damage? If the character exceeds 7k sp. The output damage will only be for 7k sp. What should I edit in battle.c? case MO_EXTREMITYFIST: skillratio += 100 * (7 + sstatus->sp / 10); skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection break;
-
Has anyone experienced this on windows 10? Whenever I used the 'reins of mount' my client crashes. But I tried to login on windows 7 it doesn't crash. Im using 2013-12-23 client.
-
Feefty's Vote for Points used in pointshop
Lord Ganja replied to Lord Ganja's question in Scripting Support
bump here* -
Is it possible to increase monsters/mobs HP on one map only? for example monsters on abbey02 has 200% increase in HP. Thanks in advance!
-
Fonts and font size changed, why?
Lord Ganja replied to Lord Ganja's question in Client-side Support
BUMP** EDIT: I tried to use the previous rathena git and the font is still the same.. So im wondering if this is really because of windows 10 or the client itself? anybody can help me fix this? thanks in advance! -
After updating my rAthena files to the latest git, I found out that client fonts are changed. Or is it also because I changed OS from win 7 to win 10? I'm using 2013-12-23 client, I didn't re-diff my client in all those screenshots below. The client side stays the same. This is the screenshot when I was still using a Windows 7 OS and an UN-updated rathena. I wanted my fonts to return to this one again This one was taken while im using Windows 10 and an updated to the latest git rev rathena. PS: Take a look at the font here, the chat font which appears over the head of the char has different font compared to the chatbox font. and this one has a smaller font size compared to the screenshot above. Then I tried to run the client on Windows 7 OS. This is also using an updated to the latest git rev rathena. PS: Take a look at this one, the fonts in the chatbox, inventory, and equipment have returned to the actual font size. but the chat font that appears over the head of the char still stays the same.. Anyone in here who's also experiencing this? I didn't know if this is actually a client side or server side.. I wanted to return the font and font size the same as the first screenshot. anyone knows how to fix this? Thanks in advance!
-
If I will change my client from 2013-12-23 to 2014-10-22.. On client side, can I just change the client itself? or do I still need to change the data files and other stuffs?
-
Are you using pre-re? Coz im using pre re and I fixed this by adding this 22777,Gift_Buff_Set,Gift Buff Set,2,10,,100,,,,,,,,,,,,,{ getgroupitem(IG_Gift_Buff_Set); },{},{} in my item_db.txt
-
I got warnings after I updated.. I got this when compiling: \src\map\itemdb.c(1232): warning C4101: 'j' : unreferenced local variable And these after starting the server: [Warning]: itemdb_parse_roulette_db: Unknown item ID '22777' in level '4' [Warning]: itemdb_parse_roulette_db: Level 4 has 5 items, 6 are required. Filling with Apples... How do I fix this? I just really want to get rid of warnings. lol
-
bump*
-
I'm currently creating a script that will be triggered by OnPCLoadMapEvent. My problem here is, it has lot's of errors like buildin_rid2name: invalid RID, buildin_checkvending: Player (null) is not online! I modified and applied THIS ONE(this script actually extract account id's but i've modified it) in my server to extract character id's in a specific area. What I wanted to happen here is, after the event started. It will kick the vending players inside the event_wroom map. but the thing is, it can't kick the vendors because the character id's are somehow messy. BUT when I use this script below, it returns the char id's of the players in the area. prontera,148,177,5 script getareausers 100,{ .@len = getareausers("event_wroom",1,1,500,500); for( .@a = 0; .@a < .@len; .@a++ ) npctalk ""+.@char_ids[.@a]; end; } This is the messy script that I use: OnPCLoadMapEvent: if( getmapusers("event_wroom") >= 10 ) { if( .@running )end; // To avoid double trigger if( !.@running ).@running = 1; .@len = getareausersid("event_wroom",1,1,500,500); for( .@i = 0; .@i < .@len; .@i++ ) { if( checkvending(rid2name(.@char_ids[.@i])) ) .@vending += 1; } if ( .@vending >= 1 ) { mapannounce "event_wroom", "Event is about to start in 3 seconds.",0; sleep 1000; mapannounce "event_wroom", "3",0; sleep 1000; mapannounce "event_wroom", "2",0; sleep 1000; mapannounce "event_wroom", "1",0; sleep 1000; mapannounce "event_wroom", "Let's get it on!",0; sleep 1000; donpcevent "event_quest::OnStart"; // This will warp players on the main event map //This part will kick the vendors for( .@i = 0; .@i < getareausersid("event_wroom",1,1,500,500); .@i++ ) { if(checkvending(rid2name(.@char_ids[.@i]))) atcommand "@kick "+rid2name(.@char_ids[.@i]); } } } end; Thanks in advance!
-
how do i patch it in my svn? r17709 as nana said, you only need to update your repo.. and look at the topic so you will know how to configure it.
-
For WPE/RPE - Packet Obfuscation Support
-
You are probably using the drop act files of your custom items. Drop act files makes the items appear on the lower part or at the floor, so if you put the DROP act file on the folder that is read when the item is equipped, your custom item will be displayed on the lower part of the character like it is already on the floor. To solve that, you need to find the appropriate act file of your custom item and replace your current act file. The drop sprite and act file should be placed at data/sprite/¾ÆÀÌÅÛ While the sprite that shows when you equipped the items should be placed here data/sprite/¾Ç¼¼»ç¸®
-
Professor/Mage Talisman Effect/ Soul link
Lord Ganja replied to GM Homies's question in General Support
bonus += ((TBL_PC*)bl)->status.max_hp / 10; -
For checking if they have an item equipped in that slot, you should use getequipisequiped. Even though 'getequipid' returns -1 if no item is equipped, that is considered a failure of the script command and that's why the map-server shows the debug message. What should I use so it won't display weapons on the menu, even if a weapon is equipped? EDIT: Nvmind, figured it out. Thanks for your help
-
I tried this script for it exclude weapons, but im having debugs and i don't know why if( getiteminfo(getequipid(.@i),2) == 4 )
-
Extended Vending System [1.9] cleanup & fix
Lord Ganja replied to Napster's topic in Source Releases
Yeah. It's working well for me. I tried cash, zeny, and item. and they are reloaded after the server restart. [info]: Vending loaded for 'LordGanja1' with '1' items at turbo_room (77,132)[info]: Vending loaded for 'LordGanja2' with '1' items at turbo_room (77,129) [info]: Vending loaded for 'LordGanja3' with '1' items at turbo_room (77,128) What number is showed in your vending.sql table of COLUMN `extended_vending_item`? Can you showed the screenshot of vending.sql table of COLUMN `extended_vending_item`? This one? upgrade_extended_vending_item.sql ALTER TABLE `vendings` ADD COLUMN `extended_vending_item` smallint(5) unsigned NOT NULL DEFAULT '0' AFTER `sit`; Or this one? -
I forgot to mention. Weapons are excluded. It shouldn't put weapons on the menu if weapon is equipped. How would I do that?
-
Hi. Im using this dynamic menu for my custom enchantment. But it seems getting debugs whenever it runs into this script. I can't seem to figure out whats the problem. mes .npc$; mes "Please select an equipment from the menu."; next; while(set(.@a,.@a+1)<=.e_len) { if(getequipid(.@a)>-1) { if(getiteminfo(getequipid(.@a),2)!=4) { set .@menu$, .@menu$+.eqp$[.@a-1]+"- [^0000FF"+getitemname(getequipid(.@a))+"^000000]:"; set(.@menu[getarraysize(.@menu)],.@a); } } } OnInit: setarray .eqp$, "Upper Headgear", "Armor", "Left Hand", "Right Hand", "Garment","Shoes", "Accessory1", "Accessory2", "Mid Headgear", "Low Headgear"; set .e_len , getarraysize(.eqp$); Debugs: [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110) [Debug]: Source (NPC): Ganja Runes#1 at turbo_room (76,110)
-
Hi can anyone help me edit this source of enchantment system. I need it to select which card slot is to be enchanted.. This source functions like this 'successenchant <equip location>,<enchant orb id>;' I need to be like 'successenchant <equip location>,<card slot>,<enchant orb id>;' script.c BUILDIN_FUNC(successenchant) { int i = -1, num, enchant, ep; TBL_PC *sd; num = script_getnum(st,2); // Equip Slot enchant = script_getnum(st,3); // Equip Enchant sd = script_rid2sd(st); if( sd == NULL || !itemdb_isenchant(enchant) ) return 0; if( num > 0 && num <= ARRAYLENGTH(equip) ) i = pc_checkequip(sd, equip[num - 1]); if( i < 0 ) return 0; if( !sd->inventory_data[i] || sd->inventory_data[i]->slot >= MAX_SLOTS ) return 0; // Cannot enchant an item with 4 slots. Enchant uses last slot. ep = sd->status.inventory[i].equip; log_pick_pc(sd, LOG_TYPE_SCRIPT, -1, &sd->status.inventory[i]); pc_unequipitem(sd,i,2); clif_delitem(sd,i,1,3); sd->status.inventory[i].card[MAX_SLOTS - 1] = enchant; log_pick_pc(sd, LOG_TYPE_SCRIPT, 1, &sd->status.inventory[i]); clif_additem(sd,i,1,0); pc_equipitem(sd,i,ep); clif_misceffect(&sd->bl,3); return 0; } ................................................................. BUILDIN_DEF(successenchant,"ii"), itemdb.h #define itemdb_isenchant(i) (i >= 4700 && i <= 4999) Thanks in advance!
-
Anybody willing to help me about this? I successfully added custom jobs using Neo's Guide, but I still want to get rid of the warnings when compiling. \src\map\itemdb.c(361): warning C4293: '<<' : shift count negative or too big, undefined behavior and as Neo, said So can anyone help me change 32bit into 64bit variable? Thanks in advance!
-
Can anyone help me how to convert the votepoints(from Feefty's Vote for Points) into another point? Because I'm trying to create a pointshop using the votepoints but I don't know which variable is used in feefty's voteforpoints.. I tried the variable 'votepoints' and '#votepoints' but I got no luck. thanks in advance!