SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 07/05/2014, 09:16 PM   #11
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,072
Reputation: 195
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by 123marvin123 View Post
My Server won't start.
I pasted this into plugins folder: http://puu.sh/8D0Z2.png
And Config looks like this: http://puu.sh/8D112.png
But Server will only display this: [19:57:31] [SampSharp] Loading gamemode: RiverShell::GameMode at "plugins/RiverShell.dll". And then crashes. Can you help me?
Have you copied the mono directory and mono-2.0.dll file into your server directory?
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in Go0gle Maps! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 08/05/2014, 02:13 PM   #12
123marvin123
Big Clucker
 
123marvin123's Avatar
 
Join Date: Sep 2009
Location: Germany
Posts: 104
Reputation: 19
Default Re: SampSharp - Write gamemodes in .NET

Yes, I did.
123marvin123 is offline   Reply With Quote
Old 08/05/2014, 05:04 PM   #13
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,072
Reputation: 195
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by 123marvin123 View Post
Yes, I did.
Could you use the code from this branch?
https://github.com/ikkentim/SampShar...debug-messages

It has some added debug messages during initialization.
If possible, could you run the project in debug mode from visual studio(assuming you are using visual studio)
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in Go0gle Maps! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 08/05/2014, 05:14 PM   #14
123marvin123
Big Clucker
 
123marvin123's Avatar
 
Join Date: Sep 2009
Location: Germany
Posts: 104
Reputation: 19
Default Re: SampSharp - Write gamemodes in .NET

Ok, final output:
"[18:30:01] [SampSharp] Loading gamemode: RiverShell::GameMode at "plugins/RiverShell.dll".
[18:30:01] [SampSharp] Configuring mono paths...
[18:30:01] [SampSharp] Initializing mono runtime..."
123marvin123 is offline   Reply With Quote
Old 08/05/2014, 06:08 PM   #15
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,072
Reputation: 195
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by 123marvin123 View Post
Ok, final output:
"[18:30:01] [SampSharp] Loading gamemode: RiverShell::GameMode at "plugins/RiverShell.dll".
[18:30:01] [SampSharp] Configuring mono paths...
[18:30:01] [SampSharp] Initializing mono runtime..."
Could you try running it from the command prompt, to see if it poops out any error messages afterwards that arent written to the server log ?
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in Go0gle Maps! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 08/05/2014, 07:05 PM   #16
123marvin123
Big Clucker
 
123marvin123's Avatar
 
Join Date: Sep 2009
Location: Germany
Posts: 104
Reputation: 19
Default Re: SampSharp - Write gamemodes in .NET

Wow, i there really is a error msg:"
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `C:\Users\Marvin\Desktop\Sachen\stock samp
srv/mono/lib/\mono\4.5\mscorlib.dll' directory.
"
123marvin123 is offline   Reply With Quote
Old 08/05/2014, 07:16 PM   #17
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,072
Reputation: 195
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by 123marvin123 View Post
Wow, i there really is a error msg:"
The assembly mscorlib.dll was not found or could not be loaded.
It should have been installed in the `C:\Users\Marvin\Desktop\Sachen\stock samp
srv/mono/lib/\mono\4.5\mscorlib.dll' directory.
"
I see... For some reason the dlls in the mono directory are being ignored by git... Let me fix that, ill edit this post when i fixed it.

Edit: Pushed it to the master branch, can you try pulling/downloading it and trying again?
__________________
Greetings,
Tim Potze

Projects
GAMEDEV | Part-time developer working on Parkitect. | Steampage
LSRES | A SA:MP server from the past, and hopefully, back in the future.
SampSharp | Plugin for writing SA:MP gamemodes in C#. | Topic Website Github
SanMap | San Andreas in Go0gle Maps! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 08/05/2014, 07:31 PM   #18
123marvin123
Big Clucker
 
123marvin123's Avatar
 
Join Date: Sep 2009
Location: Germany
Posts: 104
Reputation: 19
Default Re: SampSharp - Write gamemodes in .NET

Ok, the server started now Thanks
I will use your API to create some examples, and then give you my opinion.
123marvin123 is offline   Reply With Quote
Old 09/05/2014, 04:38 AM   #19
Niko_boy
High-roller
 
Niko_boy's Avatar
 
Join Date: Aug 2010
Location: Somewhere i belong
Posts: 1,435
Reputation: 138
Default Re: SampSharp - Write gamemodes in .NET

Very nice. I wanted to do samp scripts in C# always. Thanks alot would give it a shoot soon.
__________________
$$$ If anyone NEED A SCRIPTER for:
  • DM/TDM/Freeroam/Stunt server, filterscripts or Bug fixing.or some general mapping. Above all any of the logos and banners or signature sorta stuff aswell.At some cheap and worth-full prices.
can Contact me for more info or a deal.
•••[CLOSED]LCS•Freeroam•DM•Stunts•••AutoArena [0.3z][No SkinShot][sixtytiger.com]Want a decent Attack Defend Gamemode?
N/A176.31.229.148:7830Get This! Attack-Defend(v2.3.1)
Niko_boy is offline   Reply With Quote
Old 17/05/2014, 08:01 AM   #20
Hwang
Huge Clucker
 
Hwang's Avatar
 
Join Date: Jul 2013
Location: Turkey
Posts: 227
Reputation: 30
Default Re: SampSharp - Write gamemodes in .NET

You should add some images, such stands is very simple.
__________________


185.136.204.49:7777
Hwang is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Write on the map hejsan123 Scripting Help 3 23/09/2012 09:35 AM
How to write something in a VAR? Ihsan_Cingisiz Help Archive 4 29/05/2010 08:24 PM
How Do You Write This? sidhu123 Everything and Nothing 2 12/09/2009 05:05 AM
Write something in big and to the top TimBuk.Ekh Help Archive 3 18/04/2009 08:19 PM


All times are GMT. The time now is 03:45 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.