Mirage Source

Free ORPG making software.
It is currently Sat Apr 20, 2024 6:38 am

All times are UTC




Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Sat Sep 30, 2006 3:39 pm 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
Call Write.INI("IPCONFIG", "IP", IP, (App.Path & "\config.ini"))
Call Write.INI("IPCONFIG", "PORT", Port, (App.Path & "\config.ini"))

it says there compile syntax errors

could someone plz help. Thanx


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 5:24 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
thanks for giving us all the info required to debug your work for you.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 5:32 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Its the wrong board, it says "Bug Fixes", not "Bug Errors".. And the code is done by you, it's not from MSE. So please explain your problem more.

Moderators: Move the topic.

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 5:34 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
william...I know you're trying to help, but I don't think you need to tell the mods what to do ;).


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 7:15 pm 
Offline
Knowledgeable
User avatar

Joined: Mon May 29, 2006 11:38 am
Posts: 293
Location: Cambridge, UK
You dont have modreadini or whatever dont you, i got it all time for some reason my download didnt come with a mod, its around on the forum somwhere.

_________________
Image
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 7:20 pm 
Offline
Knowledgeable
User avatar

Joined: Sun May 28, 2006 10:07 pm
Posts: 327
Location: Washington
Moved..

In the future, when requesting a topic be moved, please form your request as a request, rather than a demand.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 7:31 pm 
Offline
Community Leader
User avatar

Joined: Mon May 29, 2006 1:00 pm
Posts: 2538
Location: Sweden
Google Talk: johansson_tk@hotmail.com
Verrigan wrote:
Moved..

In the future, when requesting a topic be moved, please form your request as a request, rather than a demand.


I really don't see why it should't be a demand when Im 100% sure its in the wrong board. But sure, maybe it gives more respect to you if I do it as a request. :)

_________________
I'm on Facebook!My Youtube Channel Send me an email
Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 8:03 pm 
Offline
Knowledgeable
User avatar

Joined: Sun May 28, 2006 10:07 pm
Posts: 327
Location: Washington
That's all I ask. :)


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 8:40 pm 
Offline
Submit-Happy
User avatar

Joined: Fri Jun 16, 2006 7:01 am
Posts: 2768
Location: Yorkshire, UK
Should there be dots between the write and the ini?

_________________
Quote:
Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?


Image


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 11:08 pm 
Offline
Community Leader
User avatar

Joined: Sun May 28, 2006 10:29 pm
Posts: 1762
Location: Salt Lake City, UT, USA
Google Talk: Darunada@gmail.com
We simply don't know enough to help with the problem. Can you post us your Write class please?

_________________
I'm on Facebook! Google Plus LinkedIn My Youtube Channel Send me an email Call me with Skype Check me out on Bitbucket Yup, I'm an EVE Online player!
Why not try my app, ColorEye, on your Android devlce?
Do you like social gaming? Fight it out in Battle Juice!

I am a professional software developer in Salt Lake City, UT.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 30, 2006 11:32 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
Kite wrote:
Should there be dots between the write and the ini?

I'm pretty sure that's the problem

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 01, 2006 2:34 am 
Why not use getvar and putvar? Those are already in the source, and easier to use.


Top
  
 
 Post subject:
PostPosted: Sun Oct 01, 2006 1:24 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
Advocate wrote:
Why not use getvar and putvar? Those are already in the source, and easier to use.


cause people aren't smart enough to realize they do the same thing.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Oct 01, 2006 5:10 pm 
I didn't know at first myself, but now I do, and when I did find out, I felt stupid. Lol.

Shut up Mis, that's not something for you to use against me.


Top
  
 
 Post subject:
PostPosted: Sun Oct 01, 2006 10:06 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
I wasn't planning on that adv :P
I can always find other things :twisted:


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 02, 2006 9:50 pm 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
well for one ive tried everything i can to debug it thats why theres dots inbetween the one things it said it was correct for those then it went to the whole thing ill start by seeing if i have the modreadini oh and thanx by the way for that.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 02, 2006 10:14 pm 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
Renegade wrote:
You dont have modreadini or whatever dont you, i got it all time for some reason my download didnt come with a mod, its around on the forum somwhere.



ya it didnt coem with a modreadini thats strange and should be fixed but i did a search on this forum and i didnt find the download for it maybe its been deleted i dont now dam ill keep lookign for it stupid search thing.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 02, 2006 10:18 pm 
Offline
Pro

Joined: Mon May 29, 2006 1:40 pm
Posts: 430
you don't need a damn modini. You have the getvar and putvar methods from the server. They do the same thing using the same damn api.
Surprisingly, this has already been said in this post. You do not need a modini. Just change the method calls.

I get angry easily, boo hoo.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 02, 2006 10:29 pm 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
now it says that sub TcpInit() is a problem when i take out the sub its fine then it goes to compile error =


i hate this thing why does there have to be some many bugs.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 02, 2006 10:32 pm 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
heres the whole dam thing what the fack am i doing roung

Code:
sub TcpInit()
SEP_CHAR = Chr(0)
END_CHAR = Chr(237)
PlayerBuffer = ""

Dim IP As String
Dim Port As String
Dim FileName As String
FileName = App.Path & "\config.ini"
If FileExist("config.ini") Then
IP = getvar("IPCONFIG", "IP", FileName)
Port = getvar("IPCONFIG", "PORT", FileName)
Else
IP = "0.0.0.0"
Port = 0
Call putvar("IPCONFIG", "IP", IP, (App.Path & "\config.ini"))
Call putvar("IPCONFIG", "PORT", Port, (App.Path & "\config.ini"))
End If
frmMirage.Socket.Close
frmMirage.Socket.RemoteHost = IP
frmMirage.Socket.RemotePort = Val(Port)
End Sub


it was saying what i said before if its not sub then its compileing error =

i have no ideal so im askign nicly plzzzzzzzz :cry:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 12:34 am 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
well now i did that and it says compile error sub or function not defined


hey pisst can someone just give me the link to the modreadini thingy.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 4:26 am 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
It's saying sub or function not defined most likely cuz you haven't added the getvar and putvar subs to your client. These subs can be found in the server project.

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 3:44 pm 
Offline
Knowledgeable
User avatar

Joined: Mon May 29, 2006 11:38 am
Posts: 293
Location: Cambridge, UK
=/ I answerd this a few posts ago you need a module what 303 doesnt have for read ini to work unless you already have a programm what does it, the code is fine xD.

_________________
Image
Image


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 9:39 pm 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
ok i confused now welli got it to work somehow just by putting ADMIN_CREATOR whuich is very starnge but then it went to another line where the same thing was going agianst each other i tried to do the exact same fixe but it wouldnt let it happen


here's the code and oh by the way one say you need it the other one says you dont need that mod how about i just get it and the extra stuff.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 11:06 pm 
Offline
Knowledgeable

Joined: Fri Aug 25, 2006 6:40 pm
Posts: 132
where can i find the subs at. the complete direction and where do i put the subs complete directions please.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 49 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group