Search results

  1. G

    Second Inventory

    Okay, so I thought about putting this in Source Support, but I'm not quite confident enough that I'd be able to complete this even if support was provided. That being said, don't hesitate to give support, I'll still try and do my part. Alright, so like the topic title says, I'm looking to make...
  2. G

    item_combo question

    Does this support multiple of 1 item? For instance, say I wanted a combo to require 1 hat, and 2 clips: 2220:2607:2607 would that work? Or does it only count each individual ID as a requirement, not the amount of each?
  3. G

    GmOcean's Scripting Services

    Status: Soon to be Available Services offered: - Scripts ( Minimum Price: $5.00, Maximum Price: Depends on complexity ).   - (Why so cheap? Simple. I script as a hobby, for me it's fun. However the scripts I release to the public free of charge, are not always what people want, so I'm...
  4. G

    String constants

    How would I go about adding support for string constants? I know that in script.c there is this code block, which deals with the creation of constants, which is called every time the server starts up. void script_set_constant(const char* name, int value, bool isparameter) { int n =...
  5. G

    *getskillname

    Okay, so I was trying to make this command, when all of a sudden, "map-server crashed". Anyone know where I went wrong with this? BUILDIN(getskillname) { TBL_PC *sd = script->rid2sd(st); uint16 skill_id; int index; if(!sd) return true; skill_id = script_getnum(st,2)...
  6. G

    *getcartinventory & *getinventorylist

    Okay, so 2 suggestions. First, I think we should modify *getinventorylist; to push the equip-slot the item is equipped on rather than just passing 1 (equipped) or 0 (not-equipped). Reason: 1) It'll still be compatible with existing scripts that use a boolean check to see if the item is...
  7. G

    check_bound command

    File Name: check_bound command File Submitter: GmOcean File Submitted: 16 Nov 2014 File Category: Plugins A simple command to check if the player currently has a bound item in their inventory. Thus eliminating the need to use getinventorylist; to do the check. Additionally, you can check for...
  8. G

    script_command adjustments

    Well some may not consider this an overhaul, but really I think a few commands are in need of a small adjustment Namely the following: *getinventorylist;*getpartymember <party id>{,<type>};*getguildmember <guild id>{,<type>};*getmobdrops(<mob id>) These 4 commands...
  9. G

    duplicatenpc & duplicateremove

    Hi I'm requesting 2 script_commands that are pretty self explanatory: duplicatenpc & duplicateremove. I know this is possible since we are able to duplicate npcs for instances. But I want to do that outside of instances. I made an attempt myself, but sadly fell short (who am I kidding, far...
  10. G

    Instance Check Commands

    File Name: Instance Check Commands File Submitter: GmOcean File Submitted: 07 Nov 2014 File Category: Plugins Additional Instance Check Commands to go along with the existing instance_check_party. Commands...
  11. G

    warning C4018: '<' : signed/unsigned mismatch

    Okay, so when I made this command in script.c originally, it worked fine. In fact, it's just a clone of another command except for a few things. This particular warning/error i'm receiving is part of the cloned code. While in script.c there is no error, the command works perfectly fine...
  12. G

    HPM Hooking into a switch

    So, what I want to know how to do is, hook into certain parts of code where it does has a switch(case:). How would I do that if it's even possible. Or do I have to just copy paste all of the code into a plugin, and add my custom code as well, so that it completely overrides it?
  13. G

    Quest DB -> SQL Conversion

    What I'm requesting, is to make quest_db a sql table. So that the server will create the db from the SQL table listings, should I choose to enable that. Same way itemdb works with sql. The reason, is this would allow for use of custom commands to " create " quests and add it to the db, as well...
  14. G

    Monster Search

    File Name: Monster Search File Submitter: GmOcean File Submitted: 12 Oct 2014 File Category: Utility Official Supported Projects: Midgard-Community Project &amp; Yourolist Project &amp; RateMyServer Website ============================================================= Description...
  15. G

    Scripting Tutorials & Guides

    Scripting Tutorials and Guides I'm going to attempt to help everyone here with their scripts while not being directly involved in helping you with them xD. This will also help future/current scripters get some fresh info and maybe inspire innovative ideas towards scripting. So that we can...
  16. G

    explode to push arraysize

    I just wanna suggest that the *explode script command, should push the array size of the one it creates. So that things like this are possible: .@a = 10;while( .@b != .@a ) { .@menu$ = .@menu$ +""+ .@b +":"; .@b++;}.@menu$ = .@menu$ +"Last Option";if( select( .@menu$ ) == ( .@size = explode(...
  17. G

    Item Search

    File Name: Item Search File Submitter: GmOcean File Submitted: 13 Oct 2014 File Category: Utility ============================================================= Description ============================================================= This script will allow users to search information...
  18. G

    Itemdb/db2 SQL & CONF

    Okay, so adding items via itemdb.conf is really easy now, since you essentially only need to input 3 fields to get an item to exist in game. However, on the SQL side for those of us who use it, you still need to add all the information or it'll be buggy and could cause issues. Since default is...
  19. G

    showsp

    I've been asking for assistance quite a bit lately, forgive me xD Okay, let's start off with, I know there currently isn't any packets that support the display of party member's SP bar(blue). So I decided to settle with copying the clif-&gt;hpdisplay and making SP versions, to just update the...
  20. G

    dummy data

    Okay, so we all know that if we obtain an item that doesn't exist, it gives us a " dummy " item. However, through all my attempts I was never able to change that information. void create_dummy_data(void){ memset(&amp;itemdb-&gt;dummy, 0, sizeof(struct item_data)); itemdb-&gt;dummy.nameid=500...
Back
Top