Page 1 of 1

Question after have your server

Posted: Fri Apr 17, 2015 8:09 pm
by Sharpade1
Im making a new topic for new questions. I will be always cheking this topic and editing for all my questions.
I made my own server LAN, no problem atm, but now i want make changes

So here we go:

1-How change the durations of buff? Its on some .xml but i dont find it (i think its the way)
2- The gm shop dont have accesory? ....where are them?
3- Where i change the time to delate a character? The 7 days.....
4- When i select my character and put "Add all skills" nothing happend, i can do it one by one (im looking for mobs/classes/hero/clan skills, etc---ALL OF THEM)

Atm thats are my questions, im always cheking the forum for answears, so i will reaply fast. Also i will be editing for new questions

Re: Question after have your server

Posted: Fri Apr 17, 2015 8:27 pm
by Faelucc
Hi,

1- All the skills are in ./game/data/stats/skills. You will need to know the ids of skills you want to modify.

3- In ./game/config/Character.properties, set the value "DeleteCharAfterDays"

4- I think "Add all skills" only add all the skills you could take at your current lvl and class. Maybe you can set your lvl to 85, then switch to a class, use "add all skills", then switch to another, "Add all skills", ect... Haven't tested.

Re: Question after have your server

Posted: Fri Apr 17, 2015 11:29 pm
by Sharpade1
Faelucc wrote:Hi,

1- All the skills are in ./game/data/stats/skills. You will need to know the ids of skills you want to modify.

3- In ./game/config/Character.properties, set the value "DeleteCharAfterDays"

4- I think "Add all skills" only add all the skills you could take at your current lvl and class. Maybe you can set your lvl to 85, then switch to a class, use "add all skills", then switch to another, "Add all skills", ect... Haven't tested.
1-Ok i check that and i dont understand anything lol, where u enter the time?
3-PROBLEM SOLVED
4-Yea that will give u the "normal classes" skill but not the mobs skills etc. I saw a video with skills and i played a gm server with all skills.

-------------
New question:
5- How i change the time of the server or i know what time is it, its the same as my pc? when say "saturday" i dont know what day/time its on my server, its the same as my pc?
6-Change weather inside the game?

Re: Question after have your server

Posted: Sat Apr 18, 2015 8:38 am
by Aikimaniac
2. GM shop...

Check this folder https://github.com/L2J/L2J_DataPack/tre ... html/admin

you can see that there is GM Store and that there are HTMLs where are defined item types for GMstore. Those buylists you can find in https://github.com/L2J/L2J_DataPack/tre ... a/buylists

So when you miss some item and it is not in any buylist, create new buylist and add it to some HTML in admin folder... try and let me know.. :)

Re: Question after have your server

Posted: Sat Apr 18, 2015 4:12 pm
by Sharpade1
Aikimaniac wrote:2. GM shop...

Check this folder https://github.com/L2J/L2J_DataPack/tre ... html/admin

you can see that there is GM Store and that there are HTMLs where are defined item types for GMstore. Those buylists you can find in https://github.com/L2J/L2J_DataPack/tre ... a/buylists

So when you miss some item and it is not in any buylist, create new buylist and add it to some HTML in admin folder... try and let me know.. :)
Wooow there is a lot to learn, this is amazing, well ok nice.....For example i want add a accessory, there is ANYWAY where i can get the codes for ID or "premade" HTML? (i will look for them, but i dont want make mistake).

Ty for the help on my other Topic

Re: Question after have your server

Posted: Sat Apr 18, 2015 5:06 pm
by godfreyouwens
Sharpade1 wrote:
Aikimaniac wrote:2. GM shop...

Check this folder https://github.com/L2J/L2J_DataPack/tre ... html/admin

you can see that there is GM Store and that there are HTMLs where are defined item types for GMstore. Those buylists you can find in https://github.com/L2J/L2J_DataPack/tre ... a/buylists

So when you miss some item and it is not in any buylist, create new buylist and add it to some HTML in admin folder... try and let me know.. :)
Wooow there is a lot to learn, this is amazing, well ok nice.....For example i want add a accessory, there is ANYWAY where i can get the codes for ID or "premade" HTML? (i will look for them, but i dont want make mistake).

Ty for the help on my other Topic
How I normally get item IDs is by logging GM into game. Hit "g" to have admin window open, then type item in search box and click 'search item' ... may not be the easiest way to find item IDs but its how I do it :) also.. you need to type the item esactly how it is written, with a capital letter etc etc...

Re: Question after have your server

Posted: Sat Apr 18, 2015 5:17 pm
by Sharpade1
godfreyouwens wrote:
Sharpade1 wrote:
Aikimaniac wrote:2. GM shop...

Check this folder https://github.com/L2J/L2J_DataPack/tre ... html/admin

you can see that there is GM Store and that there are HTMLs where are defined item types for GMstore. Those buylists you can find in https://github.com/L2J/L2J_DataPack/tre ... a/buylists

So when you miss some item and it is not in any buylist, create new buylist and add it to some HTML in admin folder... try and let me know.. :)
Wooow there is a lot to learn, this is amazing, well ok nice.....For example i want add a accessory, there is ANYWAY where i can get the codes for ID or "premade" HTML? (i will look for them, but i dont want make mistake).

Ty for the help on my other Topic
How I normally get item IDs is by logging GM into game. Hit "g" to have admin window open, then type item in search box and click 'search item' ... may not be the easiest way to find item IDs but its how I do it :) also.. you need to type the item esactly how it is written, with a capital letter etc etc...
Thats easy when u are looking ONE item, but i want accessorys on gm shop (the gm window no GM shop npc).

Re: Question after have your server

Posted: Sat Apr 18, 2015 5:49 pm
by godfreyouwens
k, sorry for trying to help. it is a way to do it though.. but i guess its not for lazy people.

Re: Question after have your server

Posted: Sat Apr 18, 2015 6:46 pm
by Sharpade1
godfreyouwens wrote:k, sorry for trying to help. it is a way to do it though.. but i guess its not for lazy people.
Sorry if sounds rude, wasnt my intention at all. I just wanna finish the server (complete mode) lol. Ty for suggestion anyway :3

Re: Question after have your server

Posted: Sat Apr 18, 2015 6:59 pm
by Sharpade1
Ok i will do a new list of questions (a few ones get problem solved).

1-Buff Duration:
I think its Solved i found the xml skills, i diditn edit it yet but i found the line to change time, ty for this one!
ALSO I SAW A VIDEO ABOUT PROGRAM TO PUT ID AND DO IT AUTOMATICK. but its old version
Video: https://www.youtube.com/watch?v=aD-Zbntw-pM

-----------edit
Already i know how change the time, there is a faster way to do it? :cry: just one by one?

1.1- NPC buffer
A guide/video to show how put a npc buffer for non gm chars.

2-Gm Shop (admin one, not NPC) With accessorys (all of them).
Ty for the suggestion Aikimaniac, it will help a lot the ID of accessorys (like a premde list, or premade xml). I dont know now the names of accessories so it will take time if i have to find THE NAMES and THE ID. ty anyway.

3-PROBLEM SOLVED (Fast delate char)

4-All skills.
I think there is a way to see the skills, EVEN THE MOBS SKILLS. Like in this video https://www.youtube.com/watch?v=ZGzIQOkzg4c
I know its goddess, but its just demostration about what i mean. This are animations i dont know if are ejecutable against mobs.

5-Time server
How i change the time of the server or i know what time is it, its the same as my pc? For example: "come saturday" i dont know what day its today...that is what i mean.

6-Change weather inside the game?

Re: Question after have your server

Posted: Sun Apr 19, 2015 12:09 am
by Faelucc
Already i know how change the time, there is a faster way to do it? :cry: just one by one?
You have several ways to quickly modify a lot of files. For example :
* If you are using linux, you can use the commend "sed" to replace all the values of "abnormalTime" by the value you want.
* Or, you can go in "L2J_Server/java/com/l2jserver/gameserver/model/skills/Skill.java" [line 245] and modify the way 'abnormalTime' is set (you can multiply, add or set the value you want).
These both examle will modify the time for all skills that uses an 'abnormalTime' option.
Another (better) way is to open "./game/config/Character.properties" and set "EnableModifySkillDuration" to True, then set "SkillDurationList".


I don't remember how to use all the commands, but you have a list in ./game/config/adminCommands.xml (replace the "admin_" by "//"). If you use a command, a text should appear telling you how to use it properly :p

Re: Question after have your server

Posted: Mon Apr 20, 2015 6:43 pm
by Sharpade1
Everything was solved exept the less importants. ty guys