Go Back   RunUO - Ultima Online Emulation > Developer's Corner > Programming > C#

C# C# Discussion

Reply
 
Thread Tools Display Modes
Old 11-28-2006, 05:18 PM   #1 (permalink)
Forum Newbie
 
Join Date: Mar 2006
Posts: 10
Default Debug skripts

Hello all. Is it possible to debug skripts?
pilgrim_ss is offline   Reply With Quote
Old 11-28-2006, 05:37 PM   #2 (permalink)
Forum Novice
 
rsmiller21's Avatar
 
Join Date: Feb 2005
Location: Stephenville, Tx
Age: 25
Posts: 225
Send a message via ICQ to rsmiller21 Send a message via MSN to rsmiller21
Default

I assume you are talking about RunUO scripts, right?! Here are some steps if you are.
  • Download RunUO source code(If you dont have already)
  • Download RunUO Server(If you dont have already)
  • Create a new blank project in C#
  • Copy all source code into the project
  • Copy the "Scripts" directory of the Server into the project
  • Before you build the project you need to allow the use of unsave code
    • In C# Project Menu -> Properties Menu -> Build Tab -> Allow Unsafe checkbox
  • Build the project
Good luck.
__________________
This is a bad signature.
rsmiller21 is offline   Reply With Quote
Old 11-28-2006, 05:56 PM   #3 (permalink)
Forum Newbie
 
Join Date: Mar 2006
Posts: 10
Default

Quote:
Originally Posted by rsmiller21
I assume you are talking about RunUO scripts, right?! Here are some steps if you are.
  • Download RunUO source code(If you dont have already)
  • Download RunUO Server(If you dont have already)
  • Create a new blank project in C#
  • Copy all source code into the project
  • Copy the "Scripts" directory of the Server into the project
  • Before you build the project you need to allow the use of unsave code
    • In C# Project Menu -> Properties Menu -> Build Tab -> Allow Unsafe checkbox
  • Build the project
Good luck.
Big thx!
pilgrim_ss is offline   Reply With Quote
Old 12-04-2006, 07:13 PM   #4 (permalink)
Forum Newbie
 
Join Date: Mar 2006
Posts: 10
Default

I have some problems, can you help me?
Im doing all steps
Quote:
Originally Posted by rsmiller21
I assume you are talking about RunUO scripts, right?! Here are some steps if you are.
  • Download RunUO source code(If you dont have already)
  • Download RunUO Server(If you dont have already)
  • Create a new blank project in C#
  • Copy all source code into the project
  • Copy the "Scripts" directory of the Server into the project
  • Before you build the project you need to allow the use of unsave code
    • In C# Project Menu -> Properties Menu -> Build Tab -> Allow Unsafe checkbox
  • Build the project
Good luck.
I compile all scripts and source, but when I run server, it compile scripts again... and when i use some commands like [admin i have errors and server shut down (some commands work correct)... what Im doing wrong?
pilgrim_ss is offline   Reply With Quote
Old 12-04-2006, 11:15 PM   #5 (permalink)
Forum Expert
 
o0_Sithid_0o's Avatar
 
Join Date: Nov 2004
Location: Hiding his old posts from Daat99.
Age: 22
Posts: 2,309
Send a message via AIM to o0_Sithid_0o Send a message via MSN to o0_Sithid_0o
Default

place the zlib dlls from the Server download into the output directory of the project.

bin/debug
bing/release

Folders vary, depending on VC# settings, if you are using it strait from install its probly just bin/release without the advanced build configuration settings.
__________________

Quote:
Originally Posted by Radwen View Post
Give me a reason... to like you.
Quote:
Originally Posted by excuse me miss, but uh... View Post
11/f/n.korea
Priceless.
o0_Sithid_0o 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