GmOcean
Community Contributors-
Content Count
371 -
Joined
-
Last visited
-
Days Won
8
GmOcean last won the day on July 16 2017
GmOcean had the most liked content!
About GmOcean
-
Rank
Advanced Member
Profile Information
-
Gender
Not Telling
-
Emulator
Hercules
-
AnnieRuru reacted to an answer to a question: Scripting Tutorials & Guides
-
On a passing whim, I've stopped by here and updated the links. A few years late, but better late than never. Good bye for now....
- 40 replies
-
- guides
- scripting support
-
(and 5 more)
Tagged with:
-
Begin reacted to a post in a topic: Slot Machine
-
TheReturn reacted to a file: Slot Machine
-
Habilis reacted to a file: Slot Machine
-
-
Legend reacted to a post in a topic: Introducing the Item Options System
-
OMG!! Finally an official system to do what I've created through script. Hmm, may pop back in just to release something using this in the future.
-
GmOcean started following mrlongshen
-
mrlongshen started following GmOcean
-
Your problem is in the for(loop). You're using @i without a player attached, you should be using .@i for (set @i,0; @i < 3; set @i,@i+1) into for (set .@i,0; .@i < 3; set .@i,.@i+1) After that, make sure you change all instances of " @i " into " .@i ". Or else the game will continue to spit out that error so long as a player is not attached.
-
A work around would be to use bindatcmd and simply make it so @slaveclone calls the clone script command.
-
NewNewbie reacted to a question: Scripting Tutorials & Guides
-
What you need is a dynamic shop. It will allow you to sell/buy items from the shop without OverCharge/Discount affecting the price. However, it will still show up in the client window, purely visual though.
-
First, does your debugmes display the proper name? Secondly, if it does, does it match your cutin name correctly? Thirdly, if both 1 & 2 are working as intended, try creating a simple version of the script function first. e.g : Make a menu with 3 options. Option 1 = Show cards 1,2,3. Option 2 = Show card 4,5,6. Option 3 = Show cards 7,8,9. However have it build the cutin name like normal, by using variables instead of sql for the test. At this point you have nothing to lose out on, a simple check will remove this from the list of possible issues.
-
taunner reacted to an answer to a question: Debug Npc Pack Guild
-
IndieRO reacted to a question: Scripting Tutorials & Guides
-
It appears to me that .@i is being set as 1. Check somewhere else in your script to see if .@i is properly being set as the item_id.
-
This command is apart of Hercules by default. There is no need to add it via plugin. If it still doesn't work, put in a bug report for it. As it is now apart of the main branch.
-
Random756 reacted to a question: Scripting Tutorials & Guides
-
From what i can tell this would allow you to bind an OnClock label, to a different label in a potentially different npc. Which, is the equivalent of the below: OnClock0100: L_event_end: end; With the exception of being able to do this all remotely. So instead of having OnClock labels in 100 different scripts, you would have 1 script managing all the OnClock labels. It would be cleaner, but wouldn't do much else than that. As you could easily just do what I did above. Managing each individual script as needed. In short, not needed but doesn't take anything away as it provides just more utility.
-
I leave the RO scene for a few months, and I (half-way) come back to seeing this being added. I like these changes. And to think I was going to code it and submit a pull request of it once I finished. Now I dont have to. Yay Hercules.
-
I like this. It would be useful in a number of situations. Such as event and utility scripts.
-
Yes you change the langtype in the clientinfo.xml
-
Ehwaz reacted to a post in a topic: Progress bar
-
If there are more than 600 images for that Cutin, it was badly scripted. And poorly done. But sadly no, I don't think anyone has that.
-
GmOcean reacted to a post in a topic: Progress bar
-
I'd have to go with Emistry's idea honestly, it's far better than having it toggle'd in a conf file. Especially since there are multiple instances where you could use the progress bar with both walkable and non-walkable forms. Example that I used in a few scripts: 1. In a custom crafting system, players were unable to move while the progress bar went through (much like other MMORPGs). 2. In a custom battle ground, I add pyres that needed to be activated 5 times, each time took 5seconds. Meaning if they moved, or were attacked, the bar cancelled, thus making them have to start over. Really adds depth and variety to scripts with just this simple option. 3. Made an item that simulated using a long cast time skill, however they needed to remain still or else it would cancel (intended feature), since the spell casted a global stun effect bypassing stats. No need to punish the players by making them unable to move to re-position themselves for strategic use. So again, I'd go with Emistry's idea, and add an extra parameter to make it root players, or allow them to walk.