Jump to content

simplynice

Members
  • Content Count

    52
  • Joined

  • Last visited

Posts posted by simplynice


  1. I'm not sure where to post this since it can be a hotkey problem / client problem or lub problem.

     

    I'm using 2008-01-22 client. Too old, i know. :D

     

     

    Anyone knows how to remove ctrl+v from the image? so i can paste a text into a chatbox and remain the alt+v.

     

    See attachment.

    post-1174-0-20637500-1398332200_thumb.jpg


  2. I like the idea how you guys changed the item database file structure just for the sake that us server owner and you guys as a developers wants a readable format. In my point of view I can only see:

     

     

    {	// =================== Mandatory fields ===============================	Id: ID                        (int)	AegisName: "Aegis_Name"       (string, optional if Inherit: true)	Name: "Item Name"             (string, optional if Inherit: true)	// =================== Optional fields ================================	Type: Item Type               (int, defaults to 3 = etc item)	Buy: Buy Price                (int, defaults to Sell * 2)	Sell: Sell Price              (int, defaults to Buy / 2)	Weight: Item Weight           (int, defaults to 0)	Atk: Attack                   (int, defaults to 0)	Matk: Magical Attack          (int, defaults to 0, ignored in pre-re)	Def: Defense                  (int, defaults to 0)	Range: Attack Range           (int, defaults to 0)	Slots: Slots                  (int, defaults to 0)	Job: Job mask                 (int, defaults to all jobs = 0xFFFFFFFF)	Upper: Upper mask             (int, defaults to any = 0x3f)	Gender: Gender                (int, defaults to both = 2)	Loc: Equip location           (int, required value for equipment)	WeaponLv: Weapon Level        (int, defaults to 0)	EquipLv: Equip required level (int, defaults to 0)	EquipLv: [min, max]           (alternative syntax with min / max level)	Refine: Refineable            (boolean, defaults to true)	View: View ID                 (int, defaults to 0)	Script: <"		Script		(it can be multi-line)	">	OnEquipScript: <" OnEquip Script (can also be multi-line) ">	OnUnequipScript: <" OnUnequip Script (can also be multi-line) ">	// =================== Optional fields (item_db2 only) ================	Inherit: true/false           (boolean, if true, inherit the values	                              that weren't specified, from item_db.conf,	                              else override it and use default values)}, 

    35 lines of code if it's a complete code, 3 lines of mandatory code excluding braces. In my item_db.txt i have 8.3k lines of code and I'm still using the old format, converting it will increase the line and yes parsing is not that fast.


    I agree it's readable. Format is good but line consuming. Parsing is not that fast. Size of file increase.


  3. I want to spawn different kind of mobs that saved on the array. 5 Levels.

    Can't make it work.

     

     

    Here's my code:

    set .@count,0;setarray .@namelevel$[0], ".@level0", ".@level1", ".@level2", ".@level3", ".@level4";setarray .@level0[0], 1002, 1002, 1002;setarray .@count0[0], 1, 1, 1;setarray .@level1[0], 1002, 1002, 1002;setarray .@count1[0], 1, 1, 1;setarray .@level2[0], 1002, 1002, 1002;setarray .@count2[0], 1, 1, 1;setarray .@level3[0], 1002, 1002, 1002;setarray .@count3[0], 1, 1, 1;setarray .@level4[0], 1002, 1002, 1002;setarray .@count4[0], 1, 1, 1;for( set .@i, 0; .@i < getarraysize(.@namelevel$[.@count]); set .@i, .@i +1 ) { // spawn monster here and call the :monsterKilled label and count mobs on the map // if mob count is 0 set .@count, .@count+1 // and do the for loop again // so it will be .@level1 // until .@level4 finishes}Any work around?

    Thank you in advance.

     


  4. @emistry and @sevenzz23

     

    Nope, that does not solved it, the default of it is I# E# P# so kerbii asked for my help to make it smaller we changed it to that label using msgstringtable.txt, the screenshot he provided was already modified so reverting it back to I# E# P# etc doesn't make sense at all.

     

     

    Any solutions?


  5. I don't know if this is relatively related.

     

     

    show_mob_info: 6 or any others don't work for me. It's not showing anything.

     

    Reloaded / Restart the server.

    Reloadbattleconf

    Reloadscript

     

    None of those works.

     

    Maybe it's a client issue or something?

     

     

    I'm using 20130522 client.


  6. I changed the default settings into:

     

    #define MAX_GUILD 2+10*1       // Increased max guild members +6 per 1 extension levels [Lupus] 

     

    Wiped my database guild using this:

     

    UPDATE `char` SET `guild_id`=0 WHERE `guild_id` >= 1;TRUNCATE TABLE `guild`;TRUNCATE TABLE `guild_alliance`;TRUNCATE TABLE `guild_castle`;TRUNCATE TABLE `guild_expulsion`;TRUNCATE TABLE `guild_member`;TRUNCATE TABLE `guild_position`;TRUNCATE TABLE `guild_skill`;TRUNCATE TABLE `guild_storage`; 

     

     

    Here's the error when i tried to put up a skill level in one of my guild skill:

     

    [Error]: guild_recv_info: Received guild with 16 members, but MAX_GUILD is only 12. Extra guild-members have been lost![Error]: Guild 1:Awesome has capacity for too many guild members (16), max supported is 12 

     

    Here's the error when i tried to make a guild:

     

    [Error]: guild_recv_info: Received guild with 16 members, but MAX_GUILD is only 12. Extra guild-members have been lost! 

     

    Am i doing something wrong?

    post-1174-0-09445200-1375507413_thumb.png


  7.  

    git.exe pull -v --progress       "origin"POST git-upload-pack (gzip 1057 to 607 bytes)POST git-upload-pack (512 bytes)remote: Counting objects: 506, done.remote: Compressing objects: 100% (219/219), done.Receiving objects: 100% (373/373), 333.35 KiB | 5.00 KiB/s, done.Resolving deltas: 100% (310/310), completed with 94 local objects.remote: Total 373 (delta 310), reused 212 (delta 153)From https://github.com/HerculesWS/Herculesa71a773..e14ab55  master     -> origin/master* [new branch]      bcrypt     -> origin/bcrypt* [new branch]      permission-cache-fix -> origin/permission-cache-fix= [up to date]      rathena    -> origin/rathena= [up to date]      zones      -> origin/zonesAuto-merging src/map/map.hAuto-merging db/re/item_db.txtCONFLICT (content): Merge conflict in db/re/item_db.txtAutomatic merge failed; fix conflicts and then commit the result.git did not exit cleanly (exit code 1) (58126 ms @ 7/30/2013 8:07:15 PM) 

    What will i do? I don't have any error running the server.


  8. You have not concluded your merge (MERGE_HEAD exists).Please, commit your changes before you can merge. 

    I have no idea what to do and how to solve this issue. I can't use git pull using centos because that's showing up same as to the windows. Any solutions guys?

     

    Thank you in advance.


  9. I'd like to attach a timer to a player.

     

    Example:

     

    I will talk to NPC and after talking to NPC . the NPC will block the player to talk into that NPC for  1 week.

     

    It's an account based attachment of time.

     

    The purpose of the 1 week time is it cannot talk to the NPC even if he goes offline and online again.

     

    I just need an idea easy enough to understand.


  10. So my script is just like this..

     

     

    //this is the item choicessetarray .beadID[1],4739,4709,4749,4729,4759,4719,4790,4794,4763,4799,4802,4825,4831,4841,4844,4849,4848,4852,4868;set .@BeadMenu$,"";//loop for menufor( set .@i,1; .@i < getarraysize( .beadID ); set .@i,.@i + 1 ){set .@BeadMenu$,.@BeadMenu$ + getitemname( .beadID[.@i] )+":";}//makes a selection of what item you wantset .@Bead,select( .@BeadMenu$ ); 

     

     

    I want the player to choose three kinds of bead or loop it 3 times and save it into an array.

     

    set .beadChoices[1],.beadID[.@Bead]1,.beadID[.@Bead]2,.beadID[.@Bead]3;

     

    How can i achieve this?

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.