SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 29/05/2017, 10:17 AM   #311
Cadilab
Little Clucker
 
Cadilab's Avatar
 
Join Date: May 2017
Location: Azeroth
Posts: 29
Reputation: 1
Default Re: SampSharp - Write gamemodes in .NET

This is amazing. I started working on some projects with this plugin so far so good
__________________
Cadilab is offline   Reply With Quote
Old 05/06/2017, 06:06 PM   #312
Gigi-The-Beast
Huge Clucker
 
Join Date: Jan 2010
Posts: 228
Reputation: 25
Default Re: SampSharp - Write gamemodes in .NET

@ikkentim would it be difficult to make a wrapper for FCNPC ?
And how it is going for 0.8, are you making some progress?
Will you implement the "gamemode reload without server restart" option?

Last edited by Gigi-The-Beast; 06/06/2017 at 10:38 AM. Reason: wrong nick
Gigi-The-Beast is offline   Reply With Quote
Old 09/06/2017, 06:43 PM   #313
daemondas
Little Clucker
 
Join Date: Aug 2010
Posts: 1
Reputation: 0
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by Richi View Post
I have a problem when I load my mappings. I have converted them as indicated here (http://sampsharp.timpotze.nl/converting-objects)
Here I put the code: http://i.imgur.com/qOz9h6F.png
And this is the error that gives me in the console when I start the GM: http://i.imgur.com/Glx4Sav.png

Can anybody help me?
Use GlobalObject not DynamicObject.
example:
Code:
new GlobalObject(353, new Vector3(player.Position.X, player.Position.Y, player.Position.Z-1), new Vector3(90, 90, 90));
daemondas is offline   Reply With Quote
Old 11/06/2017, 11:44 AM   #314
Richi
Little Clucker
 
Richi's Avatar
 
Join Date: Jul 2010
Location: Spain
Posts: 13
Reputation: 4
Default Respuesta: SampSharp - Write gamemodes in .NET

It is not feasible to use global objects with the amount of objects we have on our server. I have already solved the problem and charged the objects externally. It would be luxurious if they put the version for CentOS 64 bits of the server.
__________________
Richi is offline   Reply With Quote
Old 15/06/2017, 07:57 AM   #315
wsll789
Little Clucker
 
Join Date: Apr 2013
Posts: 7
Reputation: -2
Default Re: SampSharp - Write gamemodes in .NET

When does SampSharp support Chinese?
wsll789 is offline   Reply With Quote
Old 15/06/2017, 10:16 AM   #316
wsll789
Little Clucker
 
Join Date: Apr 2013
Posts: 7
Reputation: -2
Default Re: SampSharp - Write gamemodes in .NET

cp936
wsll789 is offline   Reply With Quote
Old 16/06/2017, 11:12 AM   #317
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,049
Reputation: 205
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by Gigi-The-Beast View Post
@ikkentim would it be difficult to make a wrapper for FCNPC ?
And how it is going for 0.8, are you making some progress?
Will you implement the "gamemode reload without server restart" option?
Had a vacation recently and have been very busy with work, should be resuming with sampsharp in 2 weeks or so I think... I've already implemented restarted w/o gamemode reloading

It's very easy to write wrappers. One example would be the streamer wrapper: https://github.com/ikkentim/SampSharp-streamer

These basic wrappers have been written by newbprogramming(iirc )
RNPC: https://pastebin.com/KxeiAdaR
ColAndreas: https://pastebin.com/rMgFa8sp

Quote:
Originally Posted by daemondas View Post
Use GlobalObject not DynamicObject.
example:
Code:
new GlobalObject(353, new Vector3(player.Position.X, player.Position.Y, player.Position.Z-1), new Vector3(90, 90, 90));
You can use DynamicObject, simply load the streamer extension and streamer plugin (version 2.8.2 is currently the latest supported plugin version!)

Quote:
Originally Posted by wsll789 View Post
When does SampSharp support Chinese?
It's a bit broken atm... With version 0.8 it should be properly supported 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 G00GLE MAPS! | Topic Github Sample
ikkentim is offline   Reply With Quote
Old 16/06/2017, 11:27 AM   #318
wsll789
Little Clucker
 
Join Date: Apr 2013
Posts: 7
Reputation: -2
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by ikkentim View Post
Had a vacation recently and have been very busy with work, should be resuming with sampsharp in 2 weeks or so I think... I've already implemented restarted w/o gamemode reloading

It's very easy to write wrappers. One example would be the streamer wrapper: https://github.com/ikkentim/SampSharp-streamer

These basic wrappers have been written by newbprogramming(iirc )
RNPC: https://pastebin.com/KxeiAdaR
ColAndreas: https://pastebin.com/rMgFa8sp



You can use DynamicObject, simply load the streamer extension and streamer plugin (version 2.8.2 is currently the latest supported plugin version!)



It's a bit broken atm... With version 0.8 it should be properly supported again!


Thanks cp936 Can show Chinese
wsll789 is offline   Reply With Quote
Old 16/06/2017, 12:46 PM   #319
wsll789
Little Clucker
 
Join Date: Apr 2013
Posts: 7
Reputation: -2
Default Re: SampSharp - Write gamemodes in .NET

[Command("test"]
private static void testCommand(BasePlayer sender, String str)


If str is Chinese, it cannot be displayed,UsageMessage will be shown
wsll789 is offline   Reply With Quote
Old 16/06/2017, 02:08 PM   #320
ikkentim
High-roller
 
ikkentim's Avatar
 
Join Date: Jan 2010
Location: Kampen, The Netherlands
Posts: 1,049
Reputation: 205
Default Re: SampSharp - Write gamemodes in .NET

Quote:
Originally Posted by wsll789 View Post
[Command("test"]
private static void testCommand(BasePlayer sender, String str)


If str is Chinese, it cannot be displayed,UsageMessage will be shown
With With version 0.8 it should be properly supported again (as discussed in PM)
__________________
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 G00GLE MAPS! | Topic Github Sample
ikkentim 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 08:35 AM
How to write something in a VAR? Ihsan_Cingisiz Help Archive 4 29/05/2010 07:24 PM
How Do You Write This? sidhu123 Everything and Nothing 2 12/09/2009 04:05 AM
Write something in big and to the top TimBuk.Ekh Help Archive 3 18/04/2009 07:19 PM


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


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