Jump to content
  • 0

4 Developing Questions


Question

Posted (edited)

Hello everyone.

 

I have 4 questions.

 

1) (SOS) How to set respawn time for my custom boss and spawnlist?

First of all, boss is in Valakas Clan. In Navicat when I search in database for my custom boss the results are only npcskills, grandboss_data, character_raid_points and droplist..

BUT NO SPAWNLIST! Every time I Restart the server the Boss is gone!

Althought, the crazy thing is that the Boss Manager says that my boss is Alive! :o I am so comfused with this... 

What can I do so to finally have my boss spawned in the x,y,z location I want AND the Boss Manager say it is Alive when it is AND the respawn time for the boss to be 2h???

Also, the respawn time is set from the navicat? if yes then how? In the grandboss_data I have respawn time 10800000. How much time is this?

 

2) How can I edit my HTM file on ServerInfo NPC to make a table like this picture I found online? 

http://tinypic.com/view.php?pic=ru7c46&s=5#.VBj7PfmSy30

 

3) How do I change the reward from the CTF,DM,TVT automatic events? Which file should I edit? (Solved)

 

4) How can I make Life Stones and Book of Giants stackable items??? I mean, 100 Life Stones of BOGs = 1 slot and NO 100! (like Adena, Soulshots etc)

I tried to put in Navicat in the LS consume_type : stackable

It worked but the problem is, the number of the ls I had was not shown! My 100 LS had only 1 slot but I couldn't see how many I had... I could only drop 1 each time and I could only delete 1 each time!

That is what I want to fix! (Solved)

 

 

Thank you for your time!

 

Savvas

Edited by skechagias

14 answers to this question

Recommended Posts

  • 0
Posted

1) Copy the valakas for example and change his id and create a new custom boss and set as type L2RaidBoss.

then when you spawn it in game go to your navicat on raidboss_spawnlist table and find your boss from his id and set the minimum and maximum respawn time.

 

3) From the event properties files for example tvt.properties, ctf.properties, etc you will find all settings there. (now where you will find them depends on your project you use)

 

4) You can find code for that but the better and easy solution for me it's to make them stuckable on your database and then modify the item in your client file on etcitemgrp.dat file

  • 0
Posted

4)

if you use Frozen... for scroll already have config for stack able but you have 1) to change something at navicat->etcitem || 2) to change something at client side... system/etcitem.dat

 

for Life Stones & BoG....already shared a L2j-frozen code :)

  • 0
Posted (edited)

4) make it stackable on database/xml and edit etcgrp file, change 0 to 2 - 3rd value from the end

Edited by SweeTs
  • 0
Posted

why you all write what i wrote? xd

it's the same things just more "detailed"..

anyway i guess he got l2jfrozen that's why i say him to change them via configs and also the most of packs have settings about rewards on configs and not on db

  • 0
Posted

why you all write what i wrote? xd

 

i say him to change them via configs

 

I always wonder about that .. when I see 2nd reply which basically is c/p :troll:

 

I dont rly get this config about stackable LS / bogs while it's 1 line to change, lol .. It's just  USELESS addon by their side (plus, no matter what, you have to edit client file), dat frozen .. :okey:

  • 0
Posted

4) make it stackable on database/xml and edit etcgrp file, change 0 to 2 - 3rd value from the end

 

4 ) this

 

 

3 ) you can change the rewards from the database

 

2 ) pm me

 

why you all write what i wrote? xd

it's the same things just more "detailed"..

anyway i guess he got l2jfrozen that's why i say him to change them via configs and also the most of packs have settings about rewards on configs and not on db

 

2 of 4 problems : Solved!

 

The reward changes from the Database via Navicat, and yeah I am using L2jFrozen. No reward information exists in the configs/.properties files! Thank you ExCaLiBuR

 

Thank you SweeTs! Fianally, made my High LS stackable! The reason is that I have an High LS Farm Area and I found it bad to full up your inventory with High LS (every mob drops min 1 max 2)

 

Problem Existing : Raid Boss

 

I want to have my Custom RB spawned in my Custom RB Area every 2h after it's death (respawn time) and the Boss Manager to say that it is alive when it is!

Now, there is no boss in my server spawned and the Boss Managers says it is alive! LOL

  • 0
Posted

I always wonder about that .. when I see 2nd reply which basically is c/p :troll:

hahaha yeap i was wondering the same and we all do this  :troll:

I dont rly get this config about stackable LS / bogs while it's 1 line to change, lol .. It's just  USELESS addon by their side (plus, no matter what, you have to edit client file), dat frozen .. :okey:

true that you only have to change what we say and it's done why frozen create code for that? lel xd

 

OFFTOPIC: Savva you are online on Skype?

pm him lel 

 

I want to have my Custom RB spawned in my Custom RB Area every 2h after it's death (respawn time) and the Boss Manager to say that it is alive when it is!

Now, there is no boss in my server spawned and the Boss Managers says it is alive! LOL

did you try what i wrote you on my 1st reply?

  • 0
Posted (edited)

Can you step by step tell me what to do please? 

Respawn time in Naqvicat is in secons or milliseconds? 
for example : for 1h respawn time I set 3600 or 3600000 ??

Edited by skechagias
  • 0
Posted

Can you step by step tell me what to do please? 

Respawn time in Naqvicat is in secons or milliseconds? 

for example : for 1h respawn time I set 3600 or 3600000 ??

1h respawn is 3600 set the minimum and maximum respawn time and it will be ok

  • 0
Posted

#1 This is the time when the grandboss will be reborn. To change the respawn time check its AI(located within the scripts), most projects have configs for those grandbosses.

#2 By adding border. <table width="300" border="1">

#3 and 4# are answered already.

  • 0
Posted (edited)

#1 This is the time when the grandboss will be reborn. To change the respawn time check its AI(located within the scripts), most projects have configs for those grandbosses.

#2 By adding border. <table width="300" border="1">

#3 and 4# are answered already.

 Hello Trance and thank you for your answer! With the border I am ok! Made it.. About the GrandBoss, there is no .py file in the data > scripts > ai > individual (where there are located others .py files of the other bosses) Maybe this is the source of the problem? Should I try another GrandBoss from the one's there are on my pack already?

Edited by skechagias

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • hahahahahahahahahahahaha this says more about MaxCheaters than about me xD
    • I already finished my panel for change name and gender, anyway need restart, im used schema  $stmt = $conn->prepare("EXEC lin_ChangeCharacterName2 ?, ?, ?"); for change name... also for change gender i used if ($race == 5) // Kamael race ID; modify this value as per your database { $error = "Gender change is not allowed for Kamael race characters."; } else { $stmt = $conn->prepare(" UPDATE user_data SET gender = ?, face_index = 0, hair_shape_index = 0, hair_color_index = 0 WHERE char_id = ? AND account_name = ? "); Sorry no idea how to add cached update in myext64 about, not have any  solution for this yet compatible to myext64 code. This is my panel make in php http://177.73.143.43:8080/account/ Cool panel for me, without experience in any code. Without help from any people here 🙄
    • Don't listen to that idiot @Nightw0lf — he doesn't know or understand anything... he just talks nonsense. Here's the solution, just to prove that they're the useless ones giving you meaningless and useless answers.   function disableCharacter($charId){ $buf = pack("cVV", 0x14, $charId, 1); return $this->Send($buf); } function enableCharacter($charId, $accountId){ $buf = pack("cVV", 0x15, $charId, $accountId); return $this->Send($buf); } function kickCharacter($charId) { $buf = pack("cV", 0x05, $charId); $tmp = $this->Send($buf); sleep(2); return $tmp; } //-------------------------------------------------------------------------------- if ($func==7)//DESHABILITAR PERSONAJE { $char_id = $var1; $CACHED->kickCharacter($char_id); $respuesta = $CACHED->disableCharacter($char_id); RegistrarActividad("disableCharacter",$respuesta,GetCharNameByCharId($char_id)."(".$char_id.")",0,0,0,0); } else if ($func==8)//HABILITAR PERSONAJE { $char_id = $var1; $account_id = $var2; $CACHED->kickCharacter($char_id); $respuesta = $CACHED->enableCharacter($char_id,$account_id); RegistrarActividad("enableCharacter",$respuesta,GetCharNameByCharId($char_id)."(".$char_id.")",$account_id,0,0,0); } //-------------------------------------------------------------------------------- $CACHED->disableCharacter($char_id); $tabla = sqlsrv_query($conexion_lin2world, "UPDATE user_data SET xxxxxxxxxxxx WHERE char_id=".$char_id.""); $CACHED->enableCharacter($char_id,$account_id); Now just compare the stupidity said by that imbecile @Nightw0lf with the answer I gave you... Thanks to people like this, MaxCheaters is in the state it's in... They keep following useless people who are good for nothing 😉  
    • A new template is available: Mystical-World - Responsive HTML Template    
    • very helpful comment when you say to some random person that is asking for help this: "I hope that the imbeciles that you defend better answer you" indicates you have serious psychological issues, you are a problem for the community at this point  read the rules and stop spreading the toxicity virus you are infected with, seek professional help.     on topic, l2off servers have the issue of real time name changing through website and CacheD server, in some of them even successfully return no errors but its still not working, the player has to restart the game afterwards so in best case you log them out, thats all i can tell you from the website side development. i suggest this to be inside try/catch dont use advext the guy gives errors in the documentation of the website connections and calls other developers idiots who cant make it i have rewrote this function fully (this function contains the errors)  https://wiki.depmax64.com/index.php/Список_php-функций_для_работы_с_пакетами_IL and still i made everything work except the rename, this can be done with other methods and SQL side using function queries
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock