teh jimpie Posted April 24, 2010 Author Share Posted April 24, 2010 ``` Private Sub testlabel_Click() testlabel.Caption = App.Path & "\Accounts" & GetPlayerLogin(MyIndex) & "char1.ini", "SPT", "head" testlabel2.Caption = App.Path & "News.ini", "COLOR", "Blue" End Sub```This code above gives an error. I'm using ES 1.2I hope someone can help me. Link to comment Share on other sites More sharing options...
balliztik1 Posted April 24, 2010 Share Posted April 24, 2010 App.path is a string, not a file reading function. Might want to include the function name GetVar. ;P Link to comment Share on other sites More sharing options...
Corrupt Posted April 24, 2010 Share Posted April 24, 2010 @Ballie:> App.path is a string, not a file reading function. Might want to include the function name GetVar. ;PAs Ballie said app.path just gets the path of the location of the applications starting path. Link to comment Share on other sites More sharing options...
tommy87 Posted April 24, 2010 Share Posted April 24, 2010 @teh:> ```> Private Sub testlabel_Click()> testlabel.Caption = App.Path & "\Accounts" & GetPlayerLogin(MyIndex) & "char1.ini", "SPT", "head"> testlabel2.Caption = App.Path & "News.ini", "COLOR", "Blue"> End Sub> ```> This code above gives an error. I'm using ES 1.2> I hope someone can help me.You have to overwrite the ' \ ' character, I guess…And use GetVar, yeah.GetVar( App.Path & "\Accounts\" & GetPlayerLogin(MyIndex) & "\char1.ini", "SPT", "head")Again in the other side..Anyway, where do you recall that "GetVar"?From Server or Client side? .. I am not sure if Client of ES has it. I dunno, I repeat. Maybe you have to add the Sub to Client.. In that case copy and paste it from Server side. Link to comment Share on other sites More sharing options...
teh jimpie Posted April 25, 2010 Author Share Posted April 25, 2010 It's also not accepting " & GetPlayerLogin(MyIndex) & "this is a label on frmstable.frm Link to comment Share on other sites More sharing options...
Robin Posted April 25, 2010 Share Posted April 25, 2010 You're trying to access the /accounts/ folder from the client. That's your problem. Link to comment Share on other sites More sharing options...
teh jimpie Posted April 25, 2010 Author Share Posted April 25, 2010 @Robin:> You're trying to access the /accounts/ folder from the client. That's your problem.So I need to build the "scripted" skill/minigame system in the source to show it on the label? Link to comment Share on other sites More sharing options...
Robin Posted April 25, 2010 Share Posted April 25, 2010 You need to have that kind of shit serverside. Link to comment Share on other sites More sharing options...
teh jimpie Posted April 25, 2010 Author Share Posted April 25, 2010 @Robin:> You need to have that kind of shit serverside.How do I do that? Just adding that code's somewhere?Am I then also allowed to use that kind of code's in the client? like:> Private Sub testlabel_Click()> testlabel.Caption = GetPlayerSkillLevel(Index, "MN")> End Sub Link to comment Share on other sites More sharing options...
tommy87 Posted April 27, 2010 Share Posted April 27, 2010 Remember you always have to code always some function to work on similar data. So, start from Client and recall the sub "SendData", go in Server and stuck the signal (modHandleData), resend an answer to the Client with the right data. It's very difficult, take your time. You will get it. :D*cought* or contact me by PM *cought* Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now