Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

List of EO 3.0 script commands?


lel
 Share

Recommended Posts

I was looking for the command that would reset your points ( what you use to increase your stats.) Not to reset your stats.

It would be awesome to see one to make you unequip everything too. 

But geez if you have a whole list…. I surely wouldn't stop you from posting it.
Link to comment
Share on other sites

There's no scripting in EO3, and the list of commands can easily be found within the source itself really.

Anyway, there is no command to increase your stats. It's a sub that handles point use being sent by the player. (Sub HandleUseStatPoint)
Link to comment
Share on other sites

Really? Thought for sure mortal angels posted some. I remember seeing ones for points too. Storm, are you sure 3.0 doesn't have scripting? Thought it was the last option in the event editor.

Please keep in mind I saw mortal angels topic on here with some of the script commands. I just can't find the points one.

O.o
Link to comment
Share on other sites

Now that Stien has had a chance to express his concerns of labels and such. 

I would like to open the topic to people that might be willing to actually help. 

If anyone is with Stien and is a little confused 

Here is an example of what I am looking for 
[http://www.eclipseorigins.com/community/index.php?/topic/128463-event-system-custom-scripts/?hl=scripts](http://www.eclipseorigins.com/community/index.php?/topic/128463-event-system-custom-scripts/?hl=scripts) 

Mostly looking for something that I can use like this to reset your characters "points" as mentioned in the op. 

I would like to mention I have not actually tested what I posted as an example from Mortal Angel, but it would be nice to at least be able to test something someone might have that they think will help.
Link to comment
Share on other sites

![](http://i.imgur.com/qM6sZNS.png)

So once again, the list of commands is in the server itself. Nobody is going to write down every single sub there is available within the server code. Just because you fail to understand what I'm saying doesn't mean I'm not helping.

And resetting the points isn't too difficult, just need to calculate the difference between your class' stats and your own, then you know how many points you should get. After that you just reset them to the class' default stats.
Link to comment
Share on other sites

While I appreciate your reply, I still can't say anything you have posted here has yet to help me. 

This could very well be an issue of me not fully understanding what you are saying. 

None the less, I can't say anything you've said yet has helped atm.
Link to comment
Share on other sites

> I'm simply pointing you at how to try and get it done, I refuse to just put up a sub that fixes all your problems until you at least try it yourself.

That being said, thank you Stien. 

I'll try to use the information you have given me and I will see what I can find. 

Should it be in my power to do so, I will keep this topic open for those who might have the direct answer. 

Hold on…. wait..... "fixes all of your problems" 

lololololololololololololollololololololololololololollololololololololololololollololololololololololololollololololololololololololollololololololololololololollololololololololololololollololololololololololololollololololololololololololollololololololololololololollololololololololololololollolol You obviously have not seen my engine........

Stien if you added this in my engine and took about IDK..... 100 free programing requests from me ( some as tough or monotonous as converting my DX7 UI to DX8)  This wouldn't come close to fixing all my problems....ever.....That's only if you were talking about my engine problems lets not forget my real life problems man! I'm married dude! Like seriously......

Adding this little requests would be like throwing me a bone =p
Link to comment
Share on other sites

1\.  I thought of where I might find an area to find the code to change points.

I only know of the area that would respond to when you level up. 

I searched the whole server source project for "point," looking for it to match up with the words level up (or something like that.)

Found this area 

```

Sub HandleUseStatPoint(ByVal Index As Long, ByRef Data() As Byte, ByVal StartAddr As Long, ByVal ExtraVar As Long)  
```
2\. This look like the code to change the stats. 

```

' Take away a stat point
        Call SetPlayerPOINTS(Index, GetPlayerPOINTS(Index) - 1)
```

3\. In the source in the area you posted in the picture. (Which I actually forgot you had to put the "scripts" in the source lol…. Would you believe for some reason I thought we had a spot to input them in the event editor? HA!)

I put this 

( Not sure why I had to remove the brackets, but VB didn't like them and wouldn't compile with them. So I had to toy with it until I got this.) 

```

 Case 1
    SetPlayerPOINTS Index, GetPlayerPOINTS(Index) = 0
    PlayerMsg Index, "Your points for increasing stats have been reset to 0 by Stein.", BrightRed
```
above this 

```

Case Else
            PlayerMsg Index, "You just activated custom script " & caseID & ". This script is not yet programmed.", BrightRed
    End Select
```
4\. In the event editor I just set the case 1 for the "script"

Made a command for bring the level to 1 with a player message.

This is what I got......... 
[![](http://i30.photobucket.com/albums/c345/valiustrigger/Steinthegreat.png)](http://s30.photobucket.com/user/valiustrigger/media/Steinthegreat.png.html)

[![](http://i30.photobucket.com/albums/c345/valiustrigger/Steinthegreat2.png)](http://s30.photobucket.com/user/valiustrigger/media/Steinthegreat2.png.html)

[![](http://i30.photobucket.com/albums/c345/valiustrigger/Steinthegreat3.png)](http://s30.photobucket.com/user/valiustrigger/media/Steinthegreat3.png.html)

When my game gets released if you have gotten really far….. I wouldn't recommend talking to Stein..... 

Seems to work fine. You see any problems?
Link to comment
Share on other sites

lol thanks for the productive help Stein. 

" You can give a starving man a fish. He'll have fish for 20-30 mins, or you can just sit there and eat one in front of him and tell him you caught it by fishing "over there.""  - lel
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...