-
Posts
439 -
Joined
-
Last visited
-
Days Won
26
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by pajodex
-
( .@party_id && .@is_leader && !.@has_instance )? "Generate dungeon "+.@md_name$+": "", change to ( .@party_id && .@is_leader && !.@has_instance )? "Generate dungeon "+.@md_name$:"",
-
change the sql data value of `name_card` to something longer like VARCHAR(30) so it can store 30 characters... may be you accidentally set it to 11 or less
-
I think storing it on a separate sql table would save you the hassle... or you can do something like this for ascending order : prontera,151,174,0 script Arrange Array 100,{ setarray .@testarray, 1, 5, 3, 4, 9; .@size = getarraysize(.@testarray); freeloop(1); for ( .@i = 0; .@i < .@size; .@i++ ) { for ( .@j = (.@i+1); .@j < .@size; .@j++ ) { if ( .@testarray[.@i] > .@testarray[.@j] ) { // Reverse the calculation to descend the order .@temp = .@testarray[.@i]; .@testarray[.@i] = .@testarray[.@j]; .@testarray[.@j] = .@temp; } } } freeloop(0); mes "Check :"; for ( .@i = 0; .@i < .@size; .@i++ ) mes "Test "+ .@testarray[.@i]; close; }
-
dont put RC_ANGEL on a quotation marks.. otherwise it would return to str instead. do this instead: OnNPCKillEvent: if ( demon_race_change_hydro > 0 && getmonsterinfo(killedrid,MOB_RACE) == RC_ANGEL) dispbottom "Yes"; else dispbottom "No"; end; }
-
if ( BaseLevel > 15 ) { mes "This happens"; close; }
-
checked your zeny?
-
Like as I said, try it on a clean server file. If error still occurs, it is something to do with npctalk...if error is not there, means you added something that modified clif send causing this error. also, I clearly stated in the description to enable (run the query) sql.. otherwise it wont work.. You dont need to enable sql mob data or something... Apparently I cannot see any script commands to fetch the element level of the mob aside from sql. If there is any other ways, please do let me know and I will adjust the script accordingly.
-
Script not working, can you help me pls
pajodex replied to NEWBIE-HELPMEPLS's question in Scripting Support
looks like this is made from chatgpt or something similar. There are lots of monster killing quest available here.. just use the search function instead of relying on AI atm.. -
View File Advance Punching Bag with DPS counter + Parameter Settings Hi guys, Its been a while since I left and came back. Here is my latest release for now for the community : In addition to setting the dummy's parameters, you can also simulate a monster's stat by adding the MOB ID. You will need to put your mob_db/mob_db_re sql tables in-order for the script to retrieve the mob's information. Since this is a free release, compatibility is your responsibility. If there are any bugs/issues, just post on the support page and not thru my DMs. Credits goes to @Secrets DPS counter script. I was using that script and modified to make this script possible. Hope this small contribution would be a great help! - pajodex Thanks to @_Terra for sharing the fix on clif_send error. Submitter pajodex Submitted 03/14/23 Category Utilities Video https://www.youtube.com/watch?v=RoLhYx-Iny8 Content Author pajodex, secrets
-
Version 1.1
975 downloads
Hi guys, Its been a while since I left and came back. Here is my latest release for now for the community : In addition to setting the dummy's parameters, you can also simulate a monster's stat by adding the MOB ID. You will need to put your mob_db/mob_db_re sql tables in-order for the script to retrieve the mob's information. Since this is a free release, compatibility is your responsibility. If there are any bugs/issues, just post on the support page and not thru my DMs. Credits goes to @Secrets DPS counter script. I was using that script and modified to make this script possible. Hope this small contribution would be a great help! - pajodex Thanks to @_Terra for sharing the fix on clif_send error.Free -
getitem F_Rand(7290,7291,7292,7293,7294,7295,7296,7297), 1;
-
- script RankingMvP -1,{ OnNPCKillEvent: // check if monster is MVP if ( getmonsterinfo(killedrid,MOB_MVPEXP) ) { #MVPPOINTS++; //----> Adds 1 mvp points..replace with whatever you are using dispbottom " Has obtenido 1 Punto de Clasificatoria"; } end; OnPCDieEvent: if (getunittype(killerrid)==BL_MOB) { // checks if monster is MVP and still have MVP Points, otherwise will result to negative value if ( getmonsterinfo(killedrid,MOB_MVPEXP) && #MVPPOINTS ) { #MVPPOINTS--; //----> Removes 1 mvp points..replace with whatever you are using dispbottom " Has reduced 1 Punto de Clasificatoria"; } } end; } Untested. Take notes on the comments.
-
View File Area Whisper System Script Header: I'd watch out for any interesting script request and might post it here. Submitter pajodex Submitted 02/16/2023 Category Utilities Video Content Author pajodex
-
Yes, should be possible. try this : // This script just shuffles the menu.. not related to the original post function script F_ShuffleNumbers { deletearray getarg(2); .@static = getarg(0); .@range = getarg(1) +1 - .@static; .@count = getarg(3, .@range); if (.@range <= 0 || .@count <= 0) return 0; if (.@count > .@range) .@count = .@range; for (.@i = 0; .@i < .@range; ++.@i) .@temparray[.@i] = .@i; for (.@i = 0; .@i < .@count; ++.@i) { .@rand = rand(.@range); set getelementofarray( getarg(2), .@i ), .@temparray[.@rand] + .@static; .@temparray[.@rand] = .@temparray[--.@range]; } return .@count; } prontera,150,180,0 script Test 100,{ setarray .@s$, "Menu 1", "Menu 2", "Menu 3", "Menu 4"; callfunc "F_ShuffleNumbers", 0, getarraysize(.@s$)-1, .@r; for ( .@i = 0; .@i < getarraysize(.@s$); .@i++ ) { .@sel$[.@i] = .@s$[.@r]; .@menu$ += .@s$[.@r] + ":"; } .@i = select(.@menu$)-1; if ( .@sel$[.@i] == "Menu 1" ) { mes "this happens 1"; } else if ( .@sel$[.@i] == "Menu 2" ) { mes "this happens 2"; } else if ( .@sel$[.@i] == "Menu3" ) { mes "this happens 3"; } else if ( .@sel$[.@i] == "Menu 4" ) { mes "this happens 4"; } close; } This is untested.. didnt have time to think thoroughly because im about to head to work but your question is quite interesting so I had to answer EDIT: I noticed some mistakes but will correct it later after work.. [fixed] EDIT 2: upon re-reading your question, it made more sense.. this is the correct one.. I will leave my initial answer here if someone needs it..
-
-
Never tried this but I think this should work. *strmobinfo(<type>,<monster id>); This function will return information about a monster record in the database, as per 'db/(pre-)re/mob_db.yml'. Type is the kind of information returned. Valid types are: It will return 0 if there is no such monster (or the type value is invalid), or an empty string if you requested the monster's name. 1 - 'english name' field in the database, a string. 2 - 'japanese name' field in the database, a string. All other returned values are numbers: 3 - Level. 4 - Maximum HP. 5 - Maximum SP. 6 - Experience reward. 7 - Job experience reward. - script test -1, OnNPCKillEvent: if ( killedrid == 1134 && strmobinfo(3,killedrid) == 31 ) { // Check if kobold lv 31 if (rand(100) > 50) getitem 501, 1; // get a 50% chance to have reward } end; } you can expand this by adding variables and loops..
-
Body Relocation -> Spider Web | Ankle Snare | Close Confine
pajodex replied to RumbleRO's question in Source Support
try changing `sc->data` into `sc->getSCE`... -
requesting for hat effect ater reach max level
pajodex replied to Enoch's question in Script Requests
I can only assume it will only take effect when player is actually equipping an item. Therefore, this script command should work only when attached as an item script. -
View File Hide announcements/broadcasts command @blockbc Hi, This is a response from this post : Requirements: Basic knowledge how to apply diff on your server files. How to use the command: @blockbc <param>. Parameters: PARTY - block incoming broadcasts from party. GUILD - block incoming broadcasts from guild. BG - block incoming broadcasts from battleground. CLAN - block incoming broadcasts from clan. MAP - block all incoming broadcasts from the current map. ALL - block all incoming broadcasts. @unblockbc. - as per the command name suggest Disclaimer: This is tested on latest server files as of the day it was posted. May or may not work on older server files. Keeping this up-to-date or vice-versa won't be my responsibility. Compatibility is your responsibility. Use at your own risk. Submitter pajodex Submitted 02/06/2023 Category Source Modifications Video Content Author pajodex
-
requesting for hat effect ater reach max level
pajodex replied to Enoch's question in Script Requests
Try changing `OnInit` to `OnPCLoginEvent` -
Hi @Mero27, Please check this out. Although it is not using '@command' this should work as intended. Let me know if there are any problems. Instructions on how to use it is inside the file itself. area_whisper.txt
-
Version 1.0.0
347 downloads
Hi, This is a response from this post : Requirements: Basic knowledge how to apply diff on your server files. How to use the command: @blockbc <param>. Parameters: PARTY - block incoming broadcasts from party. GUILD - block incoming broadcasts from guild. BG - block incoming broadcasts from battleground. CLAN - block incoming broadcasts from clan. MAP - block all incoming broadcasts from the current map. ALL - block all incoming broadcasts. @unblockbc. - as per the command name suggest Disclaimer: This is tested on latest server files as of the day it was posted. May or may not work on older server files. Keeping this up-to-date or vice-versa won't be my responsibility. Compatibility is your responsibility. Use at your own risk.Free