[Plugin] SAMP.NET (DotNet / Mono hook) 0.6 BETA
#41

Quote:
Originally Posted by ViRuXe
Посмотреть сообщение
How can we help?
A lot's of sa-mp scripters don't know the magic beside this plugin !
Put it in your signature or just tell them this plugin exist.

As soon as we get the stable version I'm going to write a game-mode for this. You can also help if you are interested.
Reply
#42

Quote:
Originally Posted by Vinnie Robardo
Посмотреть сообщение
I am 100% sure that you will succeed in making this plugin for us all, i wish you a best of luck, and a very nice plugin
Thank you. I shall certainly see how it goes

Quote:
Originally Posted by ViRuXe
Посмотреть сообщение
How can we help?
Technically you already are by testing. I don't really feel confident to open up the SVN to public source commits just yet :P
Reply
#43

A suggestion:

Can you add Native Function Requester?

For Example:
pawn Код:
//If so then it will trigger everything in here
                NativeFunctionRequestor.RequestFunction("SendClientMessage", playerid, -1, @"I love {00FF00} C#!"); // Requesting the function which is SendClientMessage with it's specific parameters
Reply
#44

Quote:
Originally Posted by Arca
Посмотреть сообщение
A suggestion:

Can you add Native Function Requester?

For Example:
pawn Код:
//If so then it will trigger everything in here
                NativeFunctionRequestor.RequestFunction("SendClientMessage", playerid, -1, @"I love {00FF00} C#!"); // Requesting the function which is SendClientMessage with it's specific parameters
Well I plan on implementing all of the natives from a_samp and the rest of the default SA-MP includes. I'm assuming this is so you can call functions from other plugins perhaps? If so I will definitely consider it, as it would be pretty useful.
Reply
#45

Quote:
Originally Posted by Yasahiro
Посмотреть сообщение
Well I plan on implementing all of the natives from a_samp and the rest of the default SA-MP includes. I'm assuming this is so you can call functions from other plugins perhaps? If so I will definitely consider it, as it would be pretty useful.
Yeah thanks. I need it for communicating with libraries.
Reply
#46

Looks useful enough.
Reply
#47

Quote:
Originally Posted by Arca
Посмотреть сообщение
A suggestion:

Can you add Native Function Requester?

For Example:
pawn Код:
//If so then it will trigger everything in here
                NativeFunctionRequestor.RequestFunction("SendClientMessage", playerid, -1, @"I love {00FF00} C#!"); // Requesting the function which is SendClientMessage with it's specific parameters
Indeed very good idea. This would keep this plugin always away from dead.However it is very hard to implement it; specially with unknown number of arguments and it's types.

To complete this idea I suggest Yashiro to use some meta information for user-defined-functions like this.

For example when a developer want to map a function should write something like this.
Pseudo code :
pawn Код:
Define new user-definded-function SendClientMessage with arguments message:string, playerid:integer, color:drawing.color which return : void
Now we should be able to normally call the function like this :
pawn Код:
SendClientMessage("Hi", "55");
Yes, Since we have mapped playerid as integer VB.Net take care about converting this string to integer.
Reply
#48

I'm really delighted to see that this plugin is alive and working so well! Well done!

I'm a C# developer myself and I've always wanted to be able to write gamemodes in C# for SA-MP!

I'll be using this plugin a lot now and so I'll report any faults that I encounter.

Good job!
Reply
#49

Right guys, just to keep you updated.
I'm currently working on implementing the SAMPGDK library which should fix some bugs. Maybe... And it'll probably improve the performance. The code is already minimised quite a bit

In other news, I'm also porting the repository from an SVN host to a GIT host - specifically, GitHub. No reason other than the fact that I much prefer GitHub's modern UI over ****** Code's UI, and has some neat features that ****** Code doesn't actually offer. This means that the commit versions will be different but hopefully it'll inspire me be frequent in commits to have a more bleeding-edge update. It also supports downloading the repo as a .zip so I won't need to upload the source as a separate file any more.

I'll update the link on the OP to the GitHub repo once I'm more confident with my code. At the moment there's a ton of errors trying to implement sampgdk so be gentle ^_^

Quote:
Originally Posted by povo
Посмотреть сообщение
I'll be using this plugin a lot now and so I'll report any faults that I encounter.
This reminded me. If any of you encounter a bug worth fixing, I'd recommend posting it on the GitHub page once it's public. I'd be more inclined to check over it seeing as I visit it more often.

Over and out
Reply
#50

I've posted the link to the GitHub repo in the OP.
https://github.com/Yasahiro/SAMP.NET

Please post any bugs you find to the Issues page on there, it will be easier for me to keep track.

Thank you for your continued support, I had no idea this would be such a desired plugin xD
I am still continuing to work on it, adding several functions each day.

Sidenote: Since the svn repo only mirrored the "latest version" code, I'll try and keep the git repo more up-to-date with my current working version. That way, changes are more easy to roll back to and you can stalk my progress that way too...
Reply
#51

Hello,

nice Project, please continue working.

Geetings from Germany!
Reply
#52

Yasahiro are you still working on this ?
Reply
#53

Very good, +1 Thanks for all
Reply
#54

Quote:
Originally Posted by samiras
View Post
Yasahiro are you still working on this ?
Of course. I haven't gone AWOL. I'm just adding all the functionality I can before the next release. Like I said, want it to be a fully working version
Reply
#55

Thanks. Whenever you could examine a release date let us know.
Good luck
Reply
#56

Hey everybody. Just letting you know I was without an internet connection for a while there, but everything's back up and running so I can continue working (Y)
Reply
#57

Good.
Github says 'Yasahiro authored 15 days ago'.
Do you plan to work on this beside your school ?
Reply
#58

Quote:
Originally Posted by samiras
View Post
Good.
Github says 'Yasahiro authored 15 days ago'.
Do you plan to work on this beside your school ?
I do. Started university today but I'm having trouble testing the plugin right now. Windows 7 is throwing the whole "gta_sa.exe has stopped running" error and I forgot how to fix it xD
Reply
#59

Quote:
Originally Posted by Yasahiro
View Post
I do. Started university today but I'm having trouble testing the plugin right now. Windows 7 is throwing the whole "gta_sa.exe has stopped running" error and I forgot how to fix it xD
As far as I know you need to do these steps to get it working.
1-Delete your "GTA San Andreas user files" inside your "My document"
2-Use your task manager to set GTA.exe is allowed to use only one core of your CPU cores
3-Use GTA.exe properties to set it's compatibility to windows XP
Reply
#60

Yep. Windows version first. I'll be able to remake my freeroam server in C#.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)