Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Oh noe.. Someone who doesn't like clicking a button :P
I can do what I want and I don't like the way that people get arsey over nothing. I've spent over a year coding on this and you don't give a shit.
LMFAO If this has taken you a year to EDIT. OMFG. loll.
RealityRP [RP][C#][PHP][R63]
Lets get something straight..
1. Your previews will be free, if you want to have previews. Else your project is shit, and we'll get cracking.
2. You will release the server when you're finished! Against the rules otherwise.
3. Your code will comply with the license it was released with. If you base this server or cms off of Snowlight/HoloCMS, it will be marked free to redistribute and require full credits.
Just to get ground rules set to avoid arguments and wars in this thread.
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
Lets get something straight..
1. Your previews will be free, if you want to have previews. Else your project is shit, and we'll get cracking.
2. You will release the server when you're finished! Against the rules otherwise.
3. Your code will comply with the license it was released with. If you base this server or cms off of Snowlight/HoloCMS, it will be marked free to redistribute and require full credits.
Just to get ground rules set to avoid arguments and wars in this thread.
Hai new mod? :)
:me needs expert help!
Why do I have this random f'd up Model Data?
http://i47.tinypic.com/sw4igh.png
RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
It's all 0s right? Copy the model data and post it here. Also search the thing for "x".
Not enough info given to help. We have no idea how your emu is coded lol.
I can definitely see the issue in the packets, lol.
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
It's all 0s right? Copy the model data and post it here. Also search the thing for "x".
Not enough info given to help. We have no idea how your emu is coded lol.
I can definitely see the issue in the packets, lol.
Code:
$modelinfo = DB::query("SELECT * FROM room_models WHERE id = '".$roominfo->model_name."'");
if($modelinfo != null)
{
$modeldata = "";
$linenum = 0;
foreach(explode("\n", strtolower($modelinfo->heightmap)) as $line) {
$linenum++;
$modeldata .= $line."\n";
}
}
Database
Code:
xxxxxxxxxxxxxxxxx
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
xxxxxxxxxxxxxxxxx
I lolled so much when you said 'We have no idea how your emu is coded'.. You've been having a go at me for 2 days now saying that its a ripoff of BCStorm (some shiz like that)..
RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Code:
$modelinfo = DB::query("SELECT * FROM room_models WHERE id = '".$roominfo->model_name."'");
if($modelinfo != null)
{
$modeldata = "";
$linenum = 0;
foreach(explode("\n", strtolower($modelinfo->heightmap)) as $line) {
$linenum++;
$modeldata .= $line."\n";
}
}
Database
Code:
xxxxxxxxxxxxxxxxx
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
x0000000000000000
xxxxxxxxxxxxxxxxx
I lolled so much when you said 'We have no idea how your emu is coded'.. You've been having a go at me for 2 days now saying that its a ripoff of BCStorm (some shiz like that)..
XD you said it in the thread earlier, I thought.
I'm going to go out on a limb here and guess that your linebreaking is happening too early. Try removing one 0 from every line.
If its breaking too early it'll come out to be 0x00000000000.. And so on, causing a blank row.
Yeah that must be the case, since the last row would be 0xxx.. etc.
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
XD you said it in the thread earlier, I thought.
I'm going to go out on a limb here and guess that your linebreaking is happening too early. Try removing one 0 from every line.
If its breaking too early it'll come out to be 0x00000000000.. And so on, causing a blank row.
Yeah that must be the case, since the last row would be 0xxx.. etc.
What about the extra random one at the end?
Finally fixed it by using this very complicated method:
Code:
$modeldata = "";
$linenum = 0;
foreach(explode("\n", strtolower($modelinfo->heightmap)) as $line) {
$linenum++;
$modeldata .= $line."".chr(13);
}
$modeldata .= "END";
$modeldata = str_replace(chr(13).chr(13), chr(13), $modeldata);
$modeldata = str_replace(chr(13)."END", "", $modeldata);
$modeldata = str_replace("END", "", $modeldata);
RealityRP [RP][C#][PHP][R63]
I meant that one on the end would break off too early, making the code
0xxx..etc.
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
I meant that one on the end would break off too early, making the code
0xxx..etc.
It's fixed now anyway (after doing that complicated method of deleting bits)
RealityRP [RP][C#][PHP][R63]
Also, what language are you using? I thought you were using C#? Why not pick that instead of choosing terrible languages like php, lolz.
No offense but nobody's going to use a PHP RP emulator.
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
Also, what language are you using? I thought you were using C#? Why not pick that instead of choosing terrible languages like php, lolz.
No offense but nobody's going to use a PHP RP emulator.
The roleplay users aren't that smart. If it works, it works.
RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
The roleplay users aren't that smart. If it works, it works.
Yeh, but still. This won't be used either way, I know because this is too awkward a project to be used. Your standard C# emulator is the most widely used, and your average PHP CMS is the most common.
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
Yeh, but still. This won't be used either way, I know because this is too awkward a project to be used. Your standard C# emulator is the most widely used, and your average PHP CMS is the most common.
You never know. PhoenixRP isn't out and people do need an alternative.
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
Also, what language are you using? I thought you were using C#? Why not pick that instead of choosing terrible languages like php, lolz.
No offense but nobody's going to use a PHP RP emulator.
Are you sure? RealityRP1 crashed every 5 minutes and now is running the most successfull RP hotels.
RealityRP [RP][C#][PHP][R63]
Yeah Cus they've patched that.