Re: [Webgame] 问仙ol - Ask fairy Online
The game works fine :D. But translation you need to recompile the whole thing :/. I've done the main.swf but the rest I can't get it working. I'm stuck at an error refered to:
MultiLangConfig.as <-- File doesn't exists in the archive I've got.
EDIT:
Fixed all compilation problems :):
http://s14.directupload.net/images/140313/xwslg6ig.jpg
Re: [Webgame] 问仙ol - Ask fairy Online
Quote:
Originally Posted by
Iulian Tase
Nothing but blank white screen
Re: [Webgame] 问仙ol - Ask fairy Online
Re: [Webgame] 问仙ol - Ask fairy Online
I highly recommend to not run the precompiled server on a Public environment. You can control the server with a few simple C# lines.
Example:
Quote:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(new Uri("http://127.0.0.1:7171"));
request.Method = WebRequestMethods.Http.Post;
request.ContentType = "application/x-www-form-urlencoded";
//string postData = "key=addGm&name=admin123";
string postData = "key=" + comboBox1.Items[comboBox1.SelectedIndex] + textBox1.Text;
request.ContentLength = postData.Length;
StreamWriter postStream = new StreamWriter(request.GetRequestStream(), System.Text.Encoding.ASCII);
postStream.Write(postData);
postStream.Close();
HttpWebResponse response = (HttpWebResponse) request.GetResponse();
textBox2.Text = convertStreamToString(response);
So I can give myself GM rights. Open GM Commands to everyone. stop the server ect.
If you want to find out more look in the source of the server under:
Quote:
wuSheng\game\mmo\game\GameService.java
Re: [Webgame] 问仙ol - Ask fairy Online
plizz help change fonts
The game does not recognize the space between words.
http://i62.tinypic.com/ek49pg.jpg
The script fix problem the space !!
text-text-text-text
LangConfig.as
Quote:
package mmo.config
{
import flash.utils.Dictionary;
/**
* 多语言管理
* @author chenyong
*
*/
public class LangConfig
{
private static var langDic : Dictionary = new Dictionary();
/**
* 国际化语言的获取
* @param name
* @return
*
*/
public static function getName(key : String):String
{
//return ResourceManager.getInstance().getString("citian",key);
return langDic[key];
}
/**
* 解析国际化字符
* @param content
*
*/
public static function parse(content : String):void
{
var pattern1 : RegExp = / +/g;
var pattern2 : RegExp = /\r+/g;
var pattern3 : RegExp = /\n+/g;
var newStr1 : String = content.replace(pattern1,"");
var newStr2 : String = newStr1.replace(pattern2,"");
var newStr3 : String = newStr2.replace(pattern3,"\n");
var contentAry : Array = newStr3.split("\n");
var len : int = contentAry.length;
for(var i : int = 0; i < len; i++)
{
var keyValue : String = contentAry[i];
if(keyValue.indexOf("#")==-1)
{
var keyValueAry : Array = keyValue.split("=");
var key : String = keyValueAry[0];
var value : String = keyValueAry[1];
if (!value)
{
continue;
}
while(value.indexOf("&n") != -1)
{
value = value.replace("&n","\n")
}
/**html转化 by liudi*/
// value = value.replace("&*","#") //转译#
value = value.replace("-"," ")
// value = value.replace("&&","=") //转译=
langDic[key] = value;
}
}
}
}
}
Re: [Webgame] 问仙ol - Ask fairy Online
What /n About us ?
and
What \n About us ?
Re: [Webgame] 问仙ol - Ask fairy Online
Re: [Webgame] 问仙ol - Ask fairy Online
Quote:
Originally Posted by
vladiks9
yep. but i wonder on how to get the legendary weapons? its hard to find in the itemlist
Re: [Webgame] 问仙ol - Ask fairy Online
thx for share !
i want to ask the file version is ??
Re: [Webgame] 问仙ol - Ask fairy Online
Quote:
Originally Posted by
vladiks9
Mega Downlaoder = http://megadownloaderapp.blogspot.co...s-english.html
Re: [Webgame] 问仙ol - Ask fairy Online
this is 1d or 2d or 3d game ?
Re: [Webgame] 问仙ol - Ask fairy Online
Quote:
Originally Posted by
versacebg
this is 1d or 2d or 3d game ?
if i not wrong , it is 2d game ~
Re: [Webgame] 问仙ol - Ask fairy Online
I have one question, how to change my account into a GM ?
Re: [Webgame] 问仙ol - Ask fairy Online
The game has a problem to translate.
Example:
String Translated
Ingame:
StringTranslated
The game does not recognize the space between words.
Re: [Webgame] 问仙ol - Ask fairy Online
hello maybi some one have english translte for this game?
- - - Updated - - -
some one? ;/