Jump to content
  • 0

time @main item


Saisho

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

i was wondering if its possible to make a item that use something like @main, it can be one time per item like

or per time (lets say 30min or 1hr?) w/ input text window if possible <- made this part :3

another silly questions... <- still need help plz :3

1- how to add effects to usable items? like herbs show a small shine when used, chocolate shows a heart...

2- theres no homunculus rename command?

3- why when i use @storage in a item it fails?

4- can someone help me w/ this mess? /swt

input @item2$; input @qt$; input @upg$; input @ele$; input @card1$; input @card2$; input @card3$; input @card4$; atcommand "@item2" + " " + "@item2$" + " " + "@qt$" + " " + "1" + " " + "@upg$" + " " + "@ele$" + " " + "@card1$" + " " + "@card2$" + " " + "@card3$" + " " + "@card4$";

Edit: Question edited - i forgot to say i know about sleep2

Edited by Saisho
Link to comment
Share on other sites

8 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  764
  • Reputation:   220
  • Joined:  11/14/11
  • Last Seen:  

1. Most probably you're looking for the specialeffect2 script command.

2. Nope, there is no command to do this.

3. atcommand "@storage"; should work.

4. I'd use getitem2 instead of that string building crap. ^_^

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

oh hi, thx for the reply :3

 

1. Most probably you're looking for the specialeffect2 script command.

 

im not sure if thats what in looking for... well it may work if add to a script, specially in a npc but do the server have specific settings to do it? something like  a kind of item_notrade to define what animation will be shown in each item from the list?

 

 

 

 

 

 

2. Nope, there is no command to do this.

too bad that was more useful than petraname.

 

 

 

3. atcommand "@storage"; should work.

for some reason it dont... /swt

i aways get the msg "storage fail"

 

4. I'd use getitem2 instead of that string building crap. ^_^

im still learning how to make scripts so yeah... noob at work here lol

scripting evolved a lot since i last tried.

 

another thing is theres how to avoid crash when @sound fail find files? 

 

im using 2012/04/10.exe but even w/ ignore errors the client always crash =P

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

i aways get the msg "storage fail"

openstorage; should work

 

 

another thing is theres how to avoid crash when @sound fail find files?

desactivate sound (bgm and other) avoid crash - but doesn't solve the problem

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

 

i aways get the msg "storage fail"

openstorage; should work

it works thx :D

 

 

 

>another thing is theres how to avoid crash when @sound fail find files?

desactivate sound (bgm and other) avoid crash - but doesn't solve the problem

im making some experiences and in this one i actually need the sound so i really so i really need a solution :<.

 

Is there a way to make a script that play a sequence of sound effects? like pick a random sound, detect the end of it and play another one?

Edited by Saisho
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Is there a way to make a script that play a sequence of sound effects?

like pick a random sound, detect the end of it and play another one?

I don't know for that but if your server crash because of sound it's better to fix that, don't you think ?

Don't ignore errors of the client (for testing), note the missing file and delete it name in your mp3nametable.txt in your client - or add the sound file in your client. Well that what I should do

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

sry maybe i havent explained well...

 

the sound dont have problems at all the thing is when i use @sound and i type something like "qwerty" i get a popup  msg of missing file.

As i said thats just a test and i understand that theres no such file but i was expecting a "file not found" in the chatbox not an actual client crash and thats what im trying to fix.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

according w/ this statement

character only ('soundeffect') or multiple characters ('soundeffectall').

 

how do i apply it on this?

input @sound$; soundeffect ".@sound$",0;

 

can someone correct me plz? :3

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.01
  • Content Count:  185
  • Reputation:   20
  • Joined:  01/06/13
  • Last Seen:  

anyone? :<

 

*BUMP

im trying but even w/ the correct input and file placed in the folder the client crashes

 

[solved]

Edited by Saisho
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
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.

×
×
  • Create New...