Jump to content

Help po inventory


Deviszh

Recommended Posts


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

Paano po malagyan ng items ang inventory kapag bagong create ang char?

 

-

 

How to put items in invetory (Newly created char)

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

There are two methods.

Go to your conf/char_athena.conf and change the line "start_items: 1201,1,2:2301,1,16".

 

Or create an own script like this:

-	script	Newchar	-1,{

OnPCLoginEvent:
	if (Newchar == 0){
		getitem 512,1;
		getitem 969,1;
		set Newchar,1;
		end;
	}
	end;
}

I hope it will help you a lot.

 

Rynbef~

Edited by Rynbef
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

There are two methods.

Go to your conf/char_athena.conf and change the line "start_items: 1201,1,2:2301,1,16".

 

Or create an own script like this:

-	script	Newchar	-1,{

OnPCLoginEvent:
	if (Newchar == 0){
		getitem 512,1;
		getitem 969,1;
		set Newchar,1;
		end;
	}
	end;
}

I hope it will help you a lot.

 

Rynbef~

 

where will i put customized scripts? npc folder?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  44
  • Topics Per Day:  0.01
  • Content Count:  898
  • Reputation:   119
  • Joined:  05/23/12
  • Last Seen:  

Yes thats right.

Adding a Script

 

~Rynbef

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

Yes thats right.

Adding a Script

 

~Rynbef

 

not working. :(

 

i added it in npc/custom/ and named it "newchar.txt" (npc/custom/newchar.txt) then added it at script_custom "npc/custom/newchar.txt" and @reloadscript, then i make a new character. Still getting no items in inventory.

 

UPDATE:

 

ITS WORKING NOW! 

 

THANKS!

 

~~~

 

2nd question,

 

how to modify valkyrie helm, armor, shoes, garm? I want it to change the required class. I want it to change it to all class can equip those valkyries.

Edited by dnkip1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.02
  • Content Count:  173
  • Reputation:   3
  • Joined:  09/04/16
  • Last Seen:  

 

thanks for this. :)

 

-----------

 

FIXED, please close this thread. Thank you! @rAthena :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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.

×
×
  • Create New...