Jump to content

Ninja

Members
  • Posts

    513
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by Ninja

  1. hi try this.

    hope it helps.

    status.c

    find

    case SC_FREEZE:
    	//Undead are immune to Freeze/Stone
    	if (undead_flag && !(flag&1))
    		return 0;
    
    
    

    replace with

    	   case SC_FREEZE:
    	//Undead are immune to Freeze/Stone or if UTSUSEMI is active
    	if ((undead_flag && !(flag&1)) || sc->data[sC_UTSUSEMI])
    		return 0;

    be sure to recompile to your code.

    • Upvote 1
  2. all patches redone.

    tested to work on 16625 several times before reposted.

    please follow the instructions in a strictly manner.

    no 3Ceam patches made(just see the patch themselves and try to convert it to 3Ceam)

    released:

    Custom.conf Framework

    Guild Mod (adjust min/max/guildextension skill)

    Disable/Enable SL + EDP

    hope you guys enjoy it. if there'd be problems, please post them. thanks.

    I'd appreciate good and bad comments.

  3. Hai!

    Just introducing myself to the community :)

    I'm new yeah~ but I've been playing ever since 2001[iRO beta]

    I used to play privates too~ and I'm passionate about developing lately so I

    decided that I will be doing some modification works but I'm still studying the whole rAthena structure

    and is reviewing/studying c++ :o

    I got some stuff up on the script release section ^_^ but those are just the start~

  4. Regarding sa sqldb stuff. I suggest you backup first. Then try mo iconfigure ung confs ng rathena thenn run m ung mga servers.pg mrng error da sqldb usually mkkta m sa output ng mga servers.from there just use alter table to add/del/modify colums

  5. Hi Lighta,

    thanks! I think I missed that part regarding guild.c when I searched the whole code about which stuff uses MAX_GUILD. thanks man. I'll add that the whole Guild Mod is really just an example and just a reply to another thread.. I just tried to create a general one so other's may use it if ever. :) and oh, i didnt know that SVNTORTOISE is able to create diff's automatically~ I'll do that tomorrow because I left my Laptop at the office. Well, Guess I'm gonna have to put another Warning message in the custom.conf file then.

    Thanks! i'm currently studying how to mod rathena. and its pretty hard granting that I suck at coding >_> but comments like yours really help :D

    //edit:

    next time i'll make sure its refined ^_^

  6. 8/21: Sup all! hope you like my releases :)

    Note: No 3ceam patches for now. Please convert them by manually looking at the whole patch file.

    changelog:

    8/15 original script [no patch file]

    8/16

    revised the whole thing.

    +added common/custom.c ~ to separate custom code from the whole rAthena code

    +added common/custom.h ~ made a header file so all codes from custom.c can be ported to other *.c's when modding

    +this release comes with a Guild Mod: Max/Min Member modification but you can still use it as a framework

    +added patch file for Guild Mod

    +fixed a file read closing after 1 iteration of reading custom.conf

    +EDP+SL mod enable/disable option

    +added patch file for EDP+SL mod

    8/17

    added the read custom conf framework

    added the SL + EDP Mod

    added the Guild Mod

    8/21

    added the Hardcore Mode mod

    credits to Lighta for methods of improvements :)

    My MODS:

    [0] Read Custom Conf Framework

    Description: This is a prerequisite to all of my mods. allows reading of conf/custom.conf upon runtime.

    download: custom framework.zip

    Instructions:

    1. copy "custom.conf" to /conf folder

    2. copy "custom.h" and "custom.c" to /src/common folder

    3. apply patch: custom framework.patch

    [1]EDP+SL MOD

    Description: A Mod for enabling/disabling EDP+SL via conf/custom.conf

    download: sl + edp.patch

    download: additional.patch

    Instructions:

    1. install [0] Read Custom Conf Framework

    2. apply patch: sl + edp.patch

    3. apply patch: additional.patch

    4. adjust settings in conf/custom.conf

    screenshots:

    post-7005-0-97967000-1345112091_thumb.pngpost-7005-0-30486200-1345112097_thumb.jpg

    [2]GUILD MOD:

    Description: A Mod for adjusting Min/Max/GuildExtension Guild options via conf/custom.conf

    download: guild mod.patch

    Instructions:

    1. install [0] Read Custom Conf Framework

    2. apply patch: guild mod.patch

    3. adjust settings in conf/custom.conf

    screenshots:

    post-7005-0-16037200-1345016498_thumb.jpgpost-7005-0-22377200-1345016523_thumb.jpg

    post-7005-0-41203100-1345016548_thumb.jpgpost-7005-0-28671200-1345016552_thumb.jpg

    post-7005-0-51800300-1345016556_thumb.jpg

    [3]HARDCORE MODE:

    Description: A Mod similar to the Diablo's HARDCORE Mode mechanics. In this Mod, you will be teleported to a certain

    pvp map if you die, you'll get [HC] tag in your name if you choose to be a hardcore char, @hardcoreon/@hardcoreoff commands,

    and script functions f_hardcoreon/f_hardcoreoff. Settings are inside custom.conf.

    Side Note: I'd really appreciate if someone can redo the scripting of the NPC's >_< I admit that I really suck at it.

    by the way, I used scripting for the new atcommand so you really need it.

    download: hardcore_mode.patch

    download: hardcore_mode.txt

    Instructions:

    1. install [0] Read Custom Conf Framework

    2. copy hardcore_mode.txt to npc/custom

    3. add this line to scripts_custom.conf

    npc: npc/custom/hardcore_mode.txt

    4. apply patch: hardcode_mode.patch

    5. modify your sql database by running these commands:

    alter table `char` add hardcore int not NULL default 0 after robe
    alter table `char` add old_name varchar(30) not NULL default 'none' after hardcore;

    screenshots:

    post-7005-0-00560300-1345555835_thumb.jpg

    post-7005-0-79046100-1345555679_thumb.jpgpost-7005-0-35885100-1345555683_thumb.jpg

    post-7005-0-09300200-1345555687_thumb.jpgpost-7005-0-57053100-1345555696_thumb.jpg

    post-7005-0-64708400-1345555707_thumb.jpgpost-7005-0-36276500-1345555719_thumb.jpg

    post-7005-0-73383900-1345555728_thumb.jpgpost-7005-0-41143700-1345555735_thumb.jpg

    • Upvote 4
  7. I'm getting the error,Guild11:GMRO has capacity for too many guild members (76), max supported is30, even after deleting all the guild's and guild castle and etc, does the error do any harm?

    I think this means that one of the guild in your database(SQLdb) has 76 members in it and it errors since it collides with the maximum defined guild members (#MAX_GUILD). So maybe a solution to this is to manually(or if you know SQL scripting then its better) split guilds into guildname_0, guildname_1, guildname_2, with automatic alliances with each other and only 30 members each will be able to join.

    this is just my idea though.

    //edit:

    http://rathena.org/board/topic/69509-read-customconf/#entry130320

    *it doesnt solve the problem regarding the one you said though but its a release for your request

  8. yes...learn C Programming...

    guide for a such is like a retarded thing...

    no one is like a machine except if he is really dedicated and start working in creating in detailed guide for a big thing like athena core structure..

    I suggest

    learn C Programming...

    or even other languages as long as you learn the basics

    and start reading rAthena core structure..start from atcommand.c to unit.c

    :)

    thanks for the suggestions. Actually I'm navigating through each of the *.c files right now. I know the noobest level of C++ language

    but not C. Guess I'm a have to do a bit of learning :)

    its a great thing that all the functions/structs are reusable from what I've seen so far. i'll do some experimenting once I

    get used to its structure.

    thanks guys!

    //edit:

    hey by the way, how do I implement *.patch files? just use a diff patcher like the diff'ing clients?

×
×
  • Create New...