Go Back   RunUO - Ultima Online Emulation > RunUO > RunUO Post Archive

RunUO Post Archive The Archvie

Reply
 
Thread Tools Display Modes
Old 03-16-2003, 10:13 PM   #1 (permalink)
Forum Expert
 
Join Date: Sep 2002
Posts: 1,267
Send a message via ICQ to Spooky
Default Interaction

With the ability in Beta 21 for VB .Net scripts to work with RunUO and interact with C# scripts I think it would be a good thing if C# scripts could interact with the VB .Net scripts as well.

There are enough people that know C# or VB .Net or both that having it work in both directions would be good, cause no matter which language you know you can write scripts that interact with scripts in the other language.

Hope this makes some sense.
Spooky is offline   Reply With Quote
Old 03-16-2003, 11:30 PM   #2 (permalink)
Forum Administrator
 
krrios's Avatar
 
Join Date: Aug 2002
Posts: 2,850
Default

The problem is that of compilation. As I understand it, the current compilers cannot compile code from both languages at the same time. As a result, the two languages must be compiled seperately.

So, the C# scripts get compiled first, and because of that, they cannot reference the as-yet uncompiled VB.NET scripts.
krrios is offline   Reply With Quote
Old 03-16-2003, 11:50 PM   #3 (permalink)
 
Join Date: Mar 2003
Posts: 612
Send a message via AIM to this.Person=Person.Leet;
Default

dang it because i am much better in visual basic than in C#.
this.Person=Person.Leet; is offline   Reply With Quote
Old 03-17-2003, 12:42 AM   #4 (permalink)
Forum Expert
 
Join Date: Nov 2002
Posts: 630
Default

i know VB and c++

and I must say going to c# was easy.. c++ is easy.. VB just takes alot of workaround... but C# is to the point I find.


so Im happy I took weeks to read the scripts and learn it.. now i can do minor scripts and im proud of em!
Static Loader is offline   Reply With Quote
Old 03-17-2003, 04:00 AM   #5 (permalink)
Forum Expert
 
Join Date: Sep 2002
Posts: 1,267
Send a message via ICQ to Spooky
Default

If it cant be done it cant be done Oh Well was a nice idea though.
Spooky is offline   Reply With Quote
Old 03-17-2003, 07:27 AM   #6 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,870
Default

There is still plenty you can do in vb.net. You can do anything in vb than you can do in the C# scripts.

You can still reference vb from C#, you have to use ScriptCompiler.FindTypeByName and use the Type option to find parameteers and stuff....
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team

"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon

Zippy is offline   Reply With Quote
Old 03-17-2003, 09:42 AM   #7 (permalink)
 
Join Date: Feb 2003
Posts: 412
Default

hmm i think doing this would require a comploie of c#, then compile of vb, then recompile the c#

i think id have a huge conflict problem, and alot of startup time, it may not be a good idea..., but if it could it woudl be helpfull
Ceph is offline   Reply With Quote
Old 03-17-2003, 09:43 AM   #8 (permalink)
 
Join Date: Feb 2003
Posts: 412
Default

errr, i loverlooked zippy's last post, yes we can do that to use vb in cs , hehe great job onn the server keep up the good work
Ceph is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5