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 Scripts / buy weapon before player (multiplayer)

Author
Message
gamer4ever
13
Years of Service
User Offline
Joined: 22nd Dec 2010
Location: gamer
Posted: 22nd Dec 2010 19:47
hey,
i need help in :
how can i buy weapon before start game (multiplayer game)
like counter strike

gamer
MaimedSoldier
14
Years of Service
User Offline
Joined: 2nd Nov 2010
Location: In The Matrix
Posted: 23rd Dec 2010 08:57
I dont think that is possibe but wait for other emmbers to post because they might have a solution

War Doesn't Make boys men, it makes men dead.
gamer4ever
13
Years of Service
User Offline
Joined: 22nd Dec 2010
Location: gamer
Posted: 23rd Dec 2010 12:24
okey ,,,,, i'm waiting

gamer
The Zoq2
15
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 23rd Dec 2010 21:23
it's not possible since script's don't work in multiplayer

Srry about my english im from sweeden
Design Runner
14
Years of Service
User Offline
Joined: 16th Oct 2010
Location: In my own little world.
Posted: 24th Dec 2010 06:14 Edited at: 24th Dec 2010 06:16
semi-possible using fps-ip, maybe rpg mod/ project blue/ wasp mod, most likely a mix between them all. But you could get something of the sort done.

EDIT:
Quote: "it's not possible since script's don't work in multiplayer"
setup code tends to help with that
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th Dec 2010 12:04
I don't believe there is a way to execute a script prior to the player spawning. There are ways to get scripts running in multiplayer mode, but what you're asking is unique and I don't believe it can be accomplished.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.
Design Runner
14
Years of Service
User Offline
Joined: 16th Oct 2010
Location: In my own little world.
Posted: 24th Dec 2010 23:36
I would go with what Plystie said, he knows more about it than I do. Don't go out and waste money on mods if they won't help you.
old_School
15
Years of Service
User Offline
Joined: 29th Aug 2009
Location:
Posted: 25th Dec 2010 00:26 Edited at: 25th Dec 2010 00:28
Currently with FPSC this function would not work. You would need to build a engine using Dark.Net or something that would allow you to use or give u the ability to do it. Ive herd rummors of Knob working on a system for this, but I dought he will be able to inncorperate it without a overhual of the current multiplayer.

Alot of those games can do it cause they can take full advantage of .Net and other Net based programming Langs. In theory for it to work for FPSC, you would have to set it up were the char would start with no weapon and he would have to purchase using a Net command or something. Basicly the server would recive a request from your client requesting this item be added to your database file and attached to your char. From their the game would have to replie on the server to process the change.

Since FPSC is not server based but client based. It wont work period. You have to have a central Database and a central server to host and process the information requests. Hope thats not to techincal.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 26th Dec 2010 01:27
That's not true. A host setup can easily accomplish this, the same way it currently accomplishes anything. By telling everyone about the change.

The client purchases the weapon (it doesn't need a server to tell it whether or not it can), then informs everyone about what weapons were purchased and being used, so that those clients (and host) can load up the media required for that weapon.


It's really not as complicated as I think you're imagining it.


The one and only,


Only those who sow the seeds of their desires will reap their benefits later.
However, I have seeds of my own to tend to. I don't have time to be someone else's watering can.

Login to post a reply

Server time is: 2024-11-24 15:10:45
Your offset time is: 2024-11-24 15:10:45