-
Posts
382 -
Joined
-
Last visited
-
Days Won
20
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Everything posted by pajodex
-
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 @secretdataz's 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 Submitter pajodex Submitted 03/14/2023 Category Utilities Video https://www.youtube.com/watch?v=RoLhYx-Iny8 Content Author pajodex, secretdataz
-
Version 1.0.0
54 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! - pajodexFree -
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); [email protected] = getarg(0); [email protected] = getarg(1) +1 - [email protected]; [email protected] = getarg(3, [email protected]); if ([email protected] <= 0 || [email protected] <= 0) return 0; if ([email protected] > [email protected]) [email protected] = [email protected]; for ([email protected] = 0; [email protected] < [email protected]; [email protected]) [email protected][[email protected]] = [email protected]; for ([email protected] = 0; [email protected] < [email protected]; [email protected]) { [email protected]rand = rand([email protected]); set getelementofarray( getarg(2), [email protected] ), [email protected][[email protected]] + [email protected]; [email protected][[email protected]] = [email protected][[email protected]]; } return [email protected]; } prontera,150,180,0 script Test 100,{ setarray [email protected]$, "Menu 1", "Menu 2", "Menu 3", "Menu 4"; callfunc "F_ShuffleNumbers", 0, getarraysize([email protected]$)-1, [email protected]; for ( [email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]++ ) { [email protected]$[[email protected]] = [email protected]$[[email protected]]; [email protected]$ += [email protected]$[[email protected]] + ":"; } [email protected] = select([email protected]$)-1; if ( [email protected]$[[email protected]] == "Menu 1" ) { mes "this happens 1"; } else if ( [email protected]$[[email protected]] == "Menu 2" ) { mes "this happens 2"; } else if ( [email protected]$[[email protected]] == "Menu3" ) { mes "this happens 3"; } else if ( [email protected]$[[email protected]] == "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
92 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 -
View File Prevent hitting mobs near NPC or Warper Hi, It's been a while since I posted anything.. As of now, I want to release this simple src mod that prevents players from hitting MVPs near an NPC/Warper. Purpose of this is to discourage players from going near warpers while hunting MVPs. I'm not sure how helpful this be but I just want to do something small for a while . I will be lurking around the request section to see some good ideas and might be releasing them here after! Cheers! Submitter pajodex Submitted 02/04/2023 Category Source Modifications Video Content Author pajodex
- 1 reply
-
- 2
-
-
Making @me command display @fakename instead of real name
pajodex replied to Dirpy's question in Source Support
Look for this on src/map/atcommand.cpp: /*========================================== * @me by lordalfa * => Displays the OUTPUT string on top of the Visible players Heads. *------------------------------------------*/ ACMD_FUNC(me) { char tempmes[CHAT_SIZE_MAX]; nullpo_retr(-1, sd); memset(tempmes, '\0', sizeof(tempmes)); memset(atcmd_output, '\0', sizeof(atcmd_output)); if (sd->sc.cant.chat || (sd->state.block_action & PCBLOCK_CHAT)) return -1; //no "chatting" while muted. if (!message || !*message || sscanf(message, "%255[^\n]", tempmes) < 0) { clif_displaymessage(fd, msg_txt(sd,1302)); // Please enter a message (usage: @me <message>). return -1; } + if ( sd->fakename[0] ) + sprintf(atcmd_output, msg_txt(sd,270), sd->fakename, tempmes); // *%s %s* + else sprintf(atcmd_output, msg_txt(sd,270), sd->status.name, tempmes); // *%s %s* clif_disp_overhead(&sd->bl, atcmd_output); return 0; } Where the '+' are the lines you need to add incase you didnt know. -
Try this, tested on latest git on its basic functionality. Let me know if there are any problems. @blockbc - blocks broadcasts depending on the parameter set @unblockbc - as the name suggest 0001-blockbc-command.patch
-
Version 1.0.0
53 downloads
Hi, It's been a while since I posted anything.. As of now, I want to release this simple src mod that prevents players from hitting MVPs near an NPC/Warper. Purpose of this is to discourage players from going near warpers while hunting MVPs. I'm not sure how helpful this be but I just want to do something small for a while . I will be lurking around the request section to see some good ideas and might be releasing them here after! Cheers!Free -
This is based on NovaRO's Low Rank Hunt feature. All information are based on https://www.novaragnarok.com/wiki/Low_Rank_Hunts and some videos in youtube that I can find. FYI, Everything is made by me (aside from the concept).. no hate and just enjoy Thanks! This is my coming back from hiatus update!
-
[Showcase] OppaiDragon's Fun Collections
pajodex replied to Moooooon-Aisha's topic in Script Showcase
Looking forward to this project.