Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Start FPSC-Game.exe with parameters?

Author
Message
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 19th Jan 2013 19:49
Hi.Can I launch the exe with parameters?
Like this:
FPSC game.exe-name = TGSlp
or I can control different menu externally, and enter the name automatically, or automatically join to press play?
Thank you.
Greetings from Germany, Rene
s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 20th Jan 2013 01:07
@TGSlp :- Not 100% sure what you trying to do what parameters are you trying to change ?

Im guessing you wanting to use this for online multipayer game the only thing I can think of is you trying to add a chat with phpfreechat as that has parameters that you can change but it could be any program.

Maybe explain a bit more what you want to do ?

best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu
xplosys
20
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 20th Jan 2013 01:23
To my knowledge, FPSC does not accept parameters. If that is so, you would have to mod the source to accept and use those parameters.

Brian.

!retupmoc eht ni deppart m'I !pleH

s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 20th Jan 2013 01:50
I think I'm having a blond moment here lol.

If you wanting to use parameters in FPSC itself then this is not possible with out a source mod but I sort of read your thread like you was using a 3rd party app where you could tell the app to launch fpsc.exe.

But I think I'm on the wrong track here I need sleep looking at the source code to long.

best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 20th Jan 2013 01:55
Hello

I use the S4 Mod from you!
Its great.

Is there a way to mod it, so there is no name textfield, and i can take the name from a textfile or something else?

I want to make a Login system, and i want to type the name automaticly in the Game.

Sorry, i cant explain it better, im german -.-

I hope there is a way!

Thanks.
Regards, TGS
s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 20th Jan 2013 02:09
You trying to make a login system for online player or login system just for a single player.

Maybe someone can understand better than me what you trying to do.

It's nice to see people still using s4mod I'm glad you like it.

best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu
BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 20th Jan 2013 02:13 Edited at: 20th Jan 2013 02:14
Quote: "Is there a way to mod it, so there is no name textfield, and i can take the name from a textfile or something else?"


Quote: "Maybe someone can understand better than me what you trying to do."


To me it sounds like your mod has a "name" that is displayed and he want to have the "name" that is displayed pulled/read from a text file. That's how i read it, although what "name textfield" he is referring to in your mod I am not too clear on. Unless your mod does not display a "name", the only other thing I can think of is the player name while in multiplayer.

It's been a while since we've used your mod. I will have to load it in and see just what the hype is all about.


There's no problem that can't be solved without applying a little scripting.
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 20th Jan 2013 02:27 Edited at: 20th Jan 2013 02:27
I will try it to explain again

So.

I want to make a multiplayer game.
Normally, you must type in your name before you can play.
If you have done this, other Player see you with this name.

I want to make a loginsystem for my game.

So i would like to type in the name in my program (Made in visual basic), and then automaticly in the game, so the user cant change the name, and allways have the same name.
So i thought, i can remove the "Change name" button in menu, and let my program type in the name hidden, or via parameters.

I hope you can understand!

Regards again - TGS
BlackFox
FPSC Master
18
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 20th Jan 2013 02:41
Quote: "I want to make a multiplayer game.
Normally, you must type in your name before you can play.
If you have done this, other Player see you with this name.

So i would like to type in the name in my program (Made in visual basic), and then automaticly in the game, so the user cant change the name, and allways have the same name.
So i thought, i can remove the "Change name" button in menu, and let my program type in the name hidden, or via parameters."


Quote: " the only other thing I can think of is the player name while in multiplayer."


So I was slightly close. He wants the multiplayer name to be entered via his app and not through the engine, but have the engine read the name from a text file instead. So if he enters "Fred" in his login interface, it writes it to a text file, then the mod reads it and that is the name displayed.


There's no problem that can't be solved without applying a little scripting.
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 20th Jan 2013 02:45 Edited at: 20th Jan 2013 02:46
Yes or direct in the game and not so unsafe via a textfile.

Is it possible?

Maybe via handles?

Thanks

TGS
s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 20th Jan 2013 02:47
Yeah he wants something like this :- http://main.fpscip.com/

So you can login and the name comes up instead of the normal way.

Best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 20th Jan 2013 02:56
Yes i want this

I have a fpsc account but i can only build one game...
And FPSC Ip is made in .net, so i want to create it to.

Someone know how IP works?

Thanks
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 20th Jan 2013 03:40
Okay..

I have it!

So i can Type in the Name from my App into the Game hidden:

Quote: " Private Declare Function SendMessage Lib "user32.dll" Alias "SendMessageA" (ByVal hwnd As Integer, ByVal wMsg As Integer, ByVal wParam As Integer, ByVal lParam As Integer) As Integer

Private Const WM_CHAR As Integer = &H102
Private Const ENTER As Integer = 13
Private Const TAB As Integer = 9

Private ID As String = "TEST"

Private sroHwnd As IntPtr = Nothing

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

sroHwnd = Process.GetProcessesByName("FPSC Game")(0).MainWindowHandle

For x As Integer = 0 To ID.Length - 1
SendMessage(sroHwnd, WM_CHAR, AscW(ID(x)), 0)
Next

End Sub"


Now i must know, how to delete the "Change Name" button in menu!

Regards, TGS
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 20th Jan 2013 21:13
if you are making your own launcher for FPSC , my mod already has fpe commands for adding your own name and IP address to connect to.

http://forum.thegamecreators.com/?m=forum_view&t=201904&b=21

TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 23rd Jan 2013 16:48
I know..
But im using S4 Mod, and so i cant use yours too, can i?
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 23rd Jan 2013 18:33
no, you cant mix them

TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 24th Jan 2013 00:13
Okay..
But can you say me in which script i can remove Buttons in menu, or Name?

It would be so nice

Regards, Rene
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 24th Jan 2013 01:29 Edited at: 24th Jan 2013 01:31
there is an instructions.txt included.

you can replace the arenapage.fpi with this:


this would bypass the name entry screen and go straight to the game

TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 24th Jan 2013 21:31
Can i edit this Script after Build?
Thanks!
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 24th Jan 2013 22:09
Sorry for doublepost, but this isn“t in my arenapage.fpi.

Can i edit this withoud your mod?
s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 24th Jan 2013 22:49
@TGSlp :- Yes you can edit all the .fpi's and ini after the game is built.

You can change anything in the built.

Are you looking at have your program put the idplayer and it bypass the menu all together.

best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 25th Jan 2013 00:27
Hi.

Without 812 Mod, there istnt the code in the script, so i cant change..
I must use s4 mod because Teamdeathmatch...

Can i bypass the name withoud his mod?

Regards, Rene
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 25th Jan 2013 00:41
I think team death match went into the source since version 119, I may be inaccurate in that, but I know it is part of current versions of FPSC.

TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 25th Jan 2013 00:52
By the way, you cant make npc in multiplayer, can you?
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 25th Jan 2013 02:07
unfortunately not at the moment. it's one of the things I'm working on

s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 25th Jan 2013 02:38
Quote: "I must use s4 mod because Teamdeathmatch..."


Teamdeathmatch is in fpsc v1.20 but many people still use s4mod for the multiplayer and single game due to speed and how stable it is.

At the end of the day you got to use the version that suits you.

If you wanting to be able to change the name in the setup so you can use a 3rd party app I might add it to s4mod if I get time and update it but it all depends how may people use the mod still.


best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu
TGSlp
13
Years of Service
User Offline
Joined: 6th Oct 2012
Location:
Posted: 26th Jan 2013 05:08 Edited at: 26th Jan 2013 05:11
Hi.

Thanks!

But where can i download 1.20?

I only see 1.19

EDIT:
I have it.
But in the changelogs, there isnt anything about Multiplayer..
Section 812
18
Years of Service
User Offline
Joined: 24th Feb 2008
Location:
Posted: 26th Jan 2013 05:34
it's at the top of the FPSCreator forum : http://forum.thegamecreators.com/?m=forum_view&t=197293&b=21

s4real
VIP Member
19
Years of Service
User Offline
Joined: 22nd Jul 2006
Location:
Posted: 26th Jan 2013 13:59
@TGSlp :- You use it the same way as s4mod in v1.20

best s4real

Pack ya games with vishnu packer its free. Vishnu game launcher is now released.
Help keep vishnu free by pledging now :- http://vishnu.chipin.com/vishnu

Login to post a reply

Server time is: 2026-07-03 05:22:46
Your offset time is: 2026-07-03 05:22:46