-
Re: RealityRP [RP][C#][PHP][R63]
How about configure instructions? like what ducuments and rilly i searched long and couldnt findt db so plz upload db without the cms
-
Re: RealityRP [RP][C#][PHP][R63]
From now on, updates will be put here :D
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
From now on, updates will be put here :D
You could start by reuploading SWFs.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
From now on, updates will be put here :D
so, what are u updating?
-
Re: RealityRP [RP][C#][PHP][R63]
Are you still using the main Snowlight pathfinder?
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
jeroen262
Are you still using the main Snowlight pathfinder?
Yes, But it will be updated soon :P
-
Re: RealityRP [RP][C#][PHP][R63]
I have been messing up with this emulator for few days changing stuff and here are few stuff that needs to be fixed:
1) Bots' RoomActor is always null in GenericBot
2) VIP commands doesn't check if the user is VIP or not and just allows the usage of them
3) What is the point of having LogFileDirectory variable in Constants when it is never used?
4) Command :hit range is 2 squares..
5) There was few overflows, unfortunately I can't remember where they located but one was because of calling itself inside a while loop which is completely unnecessary (If I am right it was at JobCacheWorker.cs - ProcessThread() ?)
But with a few fixes this is a good base to start something bigger :)
-
Re: RealityRP [RP][C#][PHP][R63]
This emulator has great potential!
-
Re: RealityRP [RP][C#][PHP][R63]
Goodluck with your development.
Why do you ignore people when they ask you to re-upload your SWF's?
-
Quote:
Originally Posted by
Crawl
Goodluck with your development.
Why do you ignore people when they ask you to re-upload your SWF's?
It may be because SWFs are easy to get a hold of.
Quote:
Originally Posted by
Bustanity
I have been messing up with this emulator for few days changing stuff and here are few stuff that needs to be fixed:
1) Bots' RoomActor is always null in GenericBot
2) VIP commands doesn't check if the user is VIP or not and just allows the usage of them
3) What is the point of having LogFileDirectory variable in Constants when it is never used?
4) Command :hit range is 2 squares..
5) There was few overflows, unfortunately I can't remember where they located but one was because of calling itself inside a while loop which is completely unnecessary (If I am right it was at JobCacheWorker.cs - ProcessThread() ?)
But with a few fixes this is a good base to start something bigger :)
All of those are extremely easy to fix..
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Leon
Quote:
Originally Posted by
Bustanity
I have been messing up with this emulator for few days changing stuff and here are few stuff that needs to be fixed:
1) Bots' RoomActor is always null in GenericBot
2) VIP commands doesn't check if the user is VIP or not and just allows the usage of them
3) What is the point of having LogFileDirectory variable in Constants when it is never used?
4) Command :hit range is 2 squares..
5) There was few overflows, unfortunately I can't remember where they located but one was because of calling itself inside a while loop which is completely unnecessary (If I am right it was at JobCacheWorker.cs - ProcessThread() ?)
But with a few fixes this is a good base to start something bigger :)
All of those are extremely easy to fix..
Exactly, reason I posted them here is so that they can be fixed for the next release if Divide decides to do one and just simply so that people would know this stuff and perhaps fix it themselves.
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Thread reopened on user's request.
Good luck!
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Screen shots on Bot Purchasing in RealityRP 2 :]
http://i50.tinypic.com/2w6cu2t.png
(Like the illumina style? :})
-
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
HabboLatino edit!
Nope, Butterfly Emu edit -__-
Get yer facts right! :D
-
Butterfly + post shuffle = ?
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
Butterfly + post shuffle = ?
Butterfly + Post shuffle + RP Edits = RealityRP2.
:]
-
Re: RealityRP [RP][C#][PHP][R63]
Well, always thought you were a noob at programming honestly and you still haven't convinced me but I wish you good luck with your next version. At least you contributed with version 1.
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Which CMS i can use as the best for RealityRP. Or can i only use the RealityCMS...? Im looking for one with an working jobs page...
-
Re: RealityRP [RP][C#][PHP][R63]
No Thread safety at all. Use Tasks. And Async voids.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
MrSolution
No Thread safety at all. Use Tasks. And Async voids.
All feedback i'm getting is going to be used in RealityRP v2, it's coming out next year and im going to be posting regular updates.
-
Next year..? What are you doing that will take so long?
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
Next year..? What are you doing that will take so long?
Probably a mega ginormous shit
http://www.youtube.com/watch?feature...lr7JhPow#t=50s
http://www.youtube.com/watch?feature...lr7JhPow#t=50s
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
Next year..? What are you doing that will take so long?
Quote:
Originally Posted by
Hejula
this.
-
Re: RealityRP [RP][C#][PHP][R63]
So you're already doubting your own project.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
So you're already doubting your own project.
The video looked fun? :D
Anyway, the reason its taking is so long is because i'm creating everything really secure so nobody can hack into it, Also i'm optimizing the server so it runs with minimal CPU and RAM :)
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
The video looked fun? :D
Anyway, the reason its taking is so long is because i'm creating everything really secure so nobody can hack into it, Also i'm optimizing the server so it runs with minimal CPU and RAM :)
Sounds good to me!
-
Re: RealityRP [RP][C#][PHP][R63]
Take your time :) - I'm sure we would prefer something that hasn't been rushed!
-
Re: RealityRP [RP][C#][PHP][R63]
True Best Having Something Done Right.
-
Re: RealityRP [RP][C#][PHP][R63]
It's party time?!
http://i50.tinypic.com/n4juch.png
Oh damn, now ive posted my test hotel link and everything :3
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
I don't like how the client handles /getxp and /gethealth separately and it returns the raw HTML code. You'd be better off using a JSON object; it's smaller and uses less resources.
Code:
{'hp': 100, 'xp': 30}
-
Re: RealityRP [RP][C#][PHP][R63]
Divide do you want me to make you a proper control furni thing for that equipment thingy that your using now.
(Instead of the space thing)
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
wy479
Divide do you want me to make you a proper control furni thing for that equipment thingy that your using now.
(Instead of the space thing)
Dont have a clue what ur going on about..
Quote:
Originally Posted by
Funixeh
I don't like how the client handles /getxp and /gethealth separately and it returns the raw HTML code. You'd be better off using a JSON object; it's smaller and uses less resources.
Code:
{'hp': 100, 'xp': 30}
Get me the javascript code? :D
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Dont have a clue what ur going on about..
Get me the javascript code? :D
Code for what? Just get the values from the object.
This will work, but I'm not a JavaScript person, so 'response' would be the JSON you get back from a URL like /getstats or something like that. I assume you're using some jQuery wizardry for real-time updating so document.write() won't work; but you'll know what to do.
Code:
response = {'hp': 100, 'xp': 30}
document.write('<div id="healthbar" style="height: ' + response['hp'] + '%;"></div>')
document.write('<div id="xpbar" style="height: ' + response['xp'] + '%;"></div>')
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Funixeh
Code for what? Just get the values from the object.
This will work, but I'm not a JavaScript person, so 'response' would be the JSON you get back from a URL like /getstats or something like that. I assume you're using some jQuery wizardry for real-time updating so document.write() won't work; but you'll know what to do.
Code:
response = {'hp': 100, 'xp': 30}
document.write('<div id="healthbar" style="height: ' + response['hp'] + '%;"></div>')
document.write('<div id="xpbar" style="height: ' + response['xp'] + '%;"></div>')
Urm, Made my hotel fuck up :P
The background was white (Like the client bg was white as if I had a Colour Toner..)
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Urm, Made my hotel fuck up :P
The background was white (Like the client bg was white as if I had a Colour Toner..)
You weren't supposed to use that. Just change the JS in your client.
Put simply, create a callback URL (like /gethealth and /getxp) into /stats or something similar, and make it return the stats of the logged in user, something like:
But of course replacing x with the appropriate values. Then get the contents of /stats or whatever inside your client page, store it into a variable, and use jQuery to update the stat bars using response['xp'] and response['hp'] (assuming the variable you saved is called response).
-
Re: RealityRP [RP][C#][PHP][R63]
Is this Released? And if it is can you give me the Download link then?
PS: Looks really good!
Regards,
Thanks,
HabHost.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Funixeh
I don't like how the client handles /getxp and /gethealth separately and it returns the raw HTML code. You'd be better off using a JSON object; it's smaller and uses less resources.
Code:
{'hp': 100, 'xp': 30}
I've just learnt how to use JavaScript and now this can be done easily :D
MOST OF THE PEOPLE WHO HAVE CONTRIBUTED INTO THIS THREAD HAVE GOT A PM FROM ME REGARDING THE NEW VERSION OF REALITYRP2!!
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
I've just learnt how to use JavaScript and now this can be done easily :D
MOST OF THE PEOPLE WHO HAVE CONTRIBUTED INTO THIS THREAD HAVE GOT A PM FROM ME REGARDING THE NEW VERSION OF REALITYRP2!!
I didnt contribute much, But thankyou
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Are you still working on it?
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
James
Reopened by request
Thanks, at last :) Been asking for like 2 weeks now haha
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Thanks, at last :) Been asking for like 2 weeks now haha
Yis Your Back ; )
-
Re: RealityRP [RP][C#][PHP][R63]
RealityRP2 Development will be starting again in a few hours. Gonna update main thread and then we gonna get coding :D
UPDATE RRP2-1
When a room crashes you're sent to the hospital room.
UPDATE RRP2-2
Arrows coded into the new emulator.
UPDATE RRP2-3
Code:
User.Notify("Message", 0);
Will now show the user a message in a special chat bubble. Only shows to the one User, Not whole room.
Colour codes coded.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
RealityRP2 Development will be starting again in a few hours. Gonna update main thread and then we gonna get coding :D
UPDATE RRP2-1
When a room crashes you're sent to the hospital room.
UPDATE RRP2-2
Arrows coded into the new emulator.
UPDATE RRP2-3
Code:
User.Notify("Message", 0);
Will now show the user a message in a special chat bubble. Only shows to the one User, Not whole room.
Colour codes coded.
Nice Updates ;)
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Omg... This update looks even better ;)
-
Re: RealityRP [RP][C#][PHP][R63]
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
ill watch your twitch, what times its online?
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Giles121
ill watch your twitch, what times its online?
Not online today.
-
Re: RealityRP [RP][C#][PHP][R63]
Divide, aren't you SELLING this emulator..?
I remember Grizzly having the same situation, and a pretty bad fate. Let's hope you'll either stop selling or close the thread.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
Divide, aren't you SELLING this emulator..?
I remember Grizzly having the same situation, and a pretty bad fate. Let's hope you'll either stop selling or close the thread.
This thread needs to be closed if it's going to be sold because it's against the rules.
Ben, that purse thingy at the top (you know what I mean) doesn;t look very good in my opinion. You have them all at one side not switch.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Tha
This thread needs to be closed if it's going to be sold because it's against the rules.
Ben, that purse thingy at the top (you know what I mean) doesn;t look very good in my opinion. You have them all at one side not switch.
Not sure if you can read.. But I've told you like 40 times that
IT IS NOT BEING SOLD
So.. stop saying stuff like that.
Quote:
Originally Posted by
FullmetalPride
Divide, aren't you SELLING this emulator..?
I remember Grizzly having the same situation, and a pretty bad fate. Let's hope you'll either stop selling or close the thread.
I'm selling it during the development stages. But it will be released as OPEN SOURCE once all RP features are coded (The basics), and its not really selling as I'm not even giving them the emulator in the sale.
-
Re: RealityRP [RP][C#][PHP][R63]
Why would someone buy this in development stages. Even more that it's written ontop of another emulator
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
Why would someone buy this in development stages. Even more that it's written ontop of another emulator
Well, People are obviously wanting it early so I decided they can pay me or their not having it :P
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Not sure if you can read.. But I've told you like 40 times that
IT IS NOT BEING SOLD
So.. stop saying stuff like that.
Once again everybody attacks me even when others say the same. I didn't say you sold this. You make that up in your mind.
-
Re: RealityRP [RP][C#][PHP][R63]
Snippet of the "doormat" code (Places you onto a random doormat in the room when u enter).
Code:
int x = model.DoorX + 1;
int y = model.DoorY;
List<RoomItem> randitems = new List<RoomItem>();
foreach (RoomItem item in room.GetRoomItemHandler().mFloorItems.Values)
{
if(item.GetBaseItem().Name.Contains("doormat"))
{
randitems.Add(item);
}
}
if (randitems.Count > 0)
{
RoomItem it = randitems[RealityEnvironment.GetRandomNumber(0, randitems.Count)];
x = it.GetX;
y = it.GetY;
}
NOTE TO PEOPLE SAYING THIS IS DATABASE INTENSIVE: The new emulator is using the cached values wherever possible.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Snippet of the "doormat" code (Places you onto a random doormat in the room when u enter).
But why?
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Sojobo
But why?
Because wired still works when going through a teleport :) (And people are nubs and dont know how to use it)
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Well, People are obviously wanting it early so I decided they can pay me or their not having it :P
because people like to be involved. Still not a liable reason to charge money for it. Either don't give it to people, or let them test it in development free. In fact it would be to your advantage, let people test it and give detailed bug reports. Also see how the emu does on larger hotels (further in dev). Tons of advantages to letting the community take part. Right now this feels like a phoenix development, and its not as interesting :P
-
Re: RealityRP [RP][C#][PHP][R63]
Just curious which emulator are you basing this off?
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
vLife
Just curious which emulator are you basing this off?
Butterstorm or habbolatinio one of the two last i got told
-
Re: RealityRP [RP][C#][PHP][R63]
Its a great project, the swfs are lovely, but Bean writen already RealityRP 7.0, why do you not release that?
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Btje
Its a great project, the swfs are lovely, but Bean writen already RealityRP 7.0, why do you not release that?
Bean is not an official developer, He renames his work as "LifeEMU", "iRP" or "BasketEMU". Because of this I don't release the work of Bean because he's not trusted in my mind.
-
RealityRP [RP][C#][PHP][R63]
This isn't based off of your old code? ;) that helps me heheh.
Also I have a request for this time around, divide. Can you improve the CMS? It wasn't all that great. I'd be happy to create a simple uber edit.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
Bean is not an official developer, He renames his work as "LifeEMU", "iRP" or "BasketEMU". Because of this I don't release the work of Bean because he's not trusted in my mind.
Ahh.. So, are there more updates? :D
btw:
Don't try to setup a realityrp1, the emulator is bugged. ;(
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Btje
Ahh.. So, are there more updates? :D
btw:
Don't try to setup a realityrp1, the emulator is bugged. ;(
It's bugged but not for long.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
FullmetalPride
This isn't based off of your old code? ;) that helps me heheh.
Also I have a request for this time around, divide. Can you improve the CMS? It wasn't all that great. I'd be happy to create a simple uber edit.
I'd appreciate if the community could create a CMS. Keep me updated with it though.
Whoever is going to start this PM me for the current database and possibly some free web hosting space :D
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Divide
I'd appreciate if the community could create a CMS. Keep me updated with it though.
Whoever is going to start this PM me for the current database and possibly some free web hosting space :D
hmm I might be interested idk depends on time.
-
Re: RealityRP [RP][C#][PHP][R63]
Ridiculous to make people pay money. 1. This is a retro emulator, it uses habbo's official swfs and other code. So why should you get money for it? 2. It's an EDIT of butterfly. You did not make butterfly. 3. Charging people to test it for you... What?.. Doesn't make sense. And you need people to test it with large user bases, so I would make the project open source the whole way through. There is no legitimate reason to charge people for it.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Explicable
Ridiculous to make people pay money. 1. This is a retro emulator, it uses habbo's official swfs and other code. So why should you get money for it? 2. It's an EDIT of butterfly. You did not make butterfly. 3. Charging people to test it for you... What?.. Doesn't make sense. And you need people to test it with large user bases, so I would make the project open source the whole way through. There is no legitimate reason to charge people for it.
Where does it say you have to purchase this emulator?
-
Re: RealityRP [RP][C#][PHP][R63]
Closed until Divide is off infraction ban.
-
Re: RealityRP [RP][C#][PHP][R63]
Weekly Releases will now be happening. I will do the first one as soon as my post HERE gets 10 likes.
http://forum.ragezone.com/f353/decom...ml#post7536772
-
Re: RealityRP [RP][C#][PHP][R63]
That's so childish.
If you aren't going to commit to release stop with the dev thread..
You shouldn't need to beg for likes just to release what you should already be releasing in the first place.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
That's so childish.
If you aren't going to commit to release stop with the dev thread..
You shouldn't need to beg for likes just to release what you should already be releasing in the first place.
Exactly. Talk about needy.
-
Re: RealityRP [RP][C#][PHP][R63]
Quote:
Originally Posted by
Makarov
That's so childish.
If you aren't going to commit to release stop with the dev thread..
You shouldn't need to beg for likes just to release what you should already be releasing in the first place.
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.
-
Re: RealityRP [RP][C#][PHP][R63]
Gonna say this here:
If you're developing a proprietary emulator, have you actually developed professionally before? Have you written scalable software before?
If no is the answer to both these questions, why are you selling your emulator?
What right do you have?
-
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.
Actually nobody does
-
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.