Having problem with send_message_to_url (module_scripts)

正在查看此主题的用户

状态
不接受进一步回复。
AlphA-FR 说:
Did you have tested on an another website? Does there is no other possibility?
Ahm...
My service url works ofc, but how does that help you?
I have no idea, sry.

Try to set up another webserver, keep the url as short as possible and use the ip of the server instead of the domain name.
e.g http://XXX.XXX.XXX.XXX/test?...
 
_Sebastian_ 说:
AlphA-FR 说:
Did you have tested on an another website? Does there is no other possibility?
Ahm...
My service url works ofc, but how does that help you?
I have no idea, sry.

Try to set up another webserver, keep the url as short as possible and use the ip of the server instead of the domain name.
e.g http://XXX.XXX.XXX.XXX/test?...

Do you have any idea how to set up a free temporary webserver    :shifty:

Edit: I will ask to a friend otherwise
 
When I access this (via google chrome) http://alphas-projects.com/content/ng_stats.php?unique_id=99&local_id=98&username=test&event=0 ; I get
Not Found

The requested URL /content/ng_stats.php was not found on this server.
Maybe that is your problem?

As for a free webhosting service, try http://www.freewebhostingarea.com/ . That's what I used for 28 days and works great.
 
Yeah that's normal I just changed the file ng_stats to ngstats. I triied to remove all '_'. But still dont work.
I'm going to try your free web hosting. Thx




Edit : I've created a host with this adress : http://alphatest.freevar.com/
So : http://alphatest.freevar.com/ngstats.php?unique_id=99&local_id=98&username=test&event=0

Still doesn't work. I guess the error is really in the code itself.

Edit 2 : Could you send me a native module_sys which the code works ? Just to see If I'm doing something wrong?
 
AlphA-FR 说:
So : http://alphatest.freevar.com/ngstats.php?unique_id=99&local_id=98&username=test&event=0
Still doesn't work. I guess the error is really in the code itself.
This one works, full log message below;
<!-- Start 1FreeCounter.com code -->
 
  <script language="JavaScript">
  var data = '&r=' + escape(document.referrer)
+ '&n=' + escape(navigator.userAgent)
+ '&p=' + escape(navigator.userAgent)
+ '&g=' + escape(document.location.href);

  if (navigator.userAgent.substring(0,1)>'3')
    data = data + '&sd=' + screen.colorDepth
+ '&sw=' + escape(screen.width+'x'+screen.height);

  document.write('<a href="http://www.1freecounter.com/stats.php?i=115884" target=\"_blank\" >');
  document.write('<img alt="Free Counter" border=0 hspace=0 '+'vspace=0 src="http://www.1freecounter.com/counter.php?i=115884' + data + '">');
  document.write('</a>');
  </script>

<!-- End 1FreeCounter.com code -->



User found in the database => username = test
Adding +1 death

Could you send me a native module_sys which the code works ? Just to see If I'm doing something wrong?
Eh? Unless you didn't mess up your MS completely, it should work like a charm.
Check if it's up to date.

插入代码块:
(send_message_to_url, "@http://alphatest.freevar.com/ngstats.php?unique_id=99&local_id=98&username=test&event=0"),
That's how I called it.
 
AlphA-FR 说:
Not with the warband server script...
What has it to do with any script?
Your gameserver's connection seems to get blocked in some way as I mentioned earlier.

Again, did you do what I recommended?
_Sebastian_ 说:
For testing purposes;
Turn off all antivirus- and firewall-softwares, open all relevant ports on the router(if accessible) ... On both Machines
Then try again.
 
For testing purposes;
Turn off all antivirus- and firewall-softwares, open all relevant ports on the router(if accessible) ... On both Machines
Then try again.

That's why I've tested on : http://www.freewebhostingarea.com/
I've asked to my web hoster if something may block. I'm waiting for an answer.
 
Because you mentioned it, you gave me an idea. It may be caused by ''_' characters. Warband replaces all '_' characters with white spaces. As I can see, in your url, you still have '_'. Try removing those.
http://alphatest.freevar.com/ngstats.php?unique_id=99&local_id=98&username=test&event=0
 
The_dragon 说:
Because you mentioned it, you gave me an idea. It may be caused by ''_' characters. Warband replaces all '_' characters with white spaces. As I can see, in your url, you still have '_'. Try removing those.

The clean way is to use the 'str_encode_url' operation.
 
Ra'Jiska 说:
The_dragon 说:
Because you mentioned it, you gave me an idea. It may be caused by ''_' characters. Warband replaces all '_' characters with white spaces. As I can see, in your url, you still have '_'. Try removing those.

The clean way is to use the 'str_encode_url' operation.

Already done Raj.
Nothing. I'm such disappointed :/

Btw, I'm testing with one of your server :smile:
 
Try displaying the url. Store the url in string s1, then use send_message_to_url, s1, then display_message, s1.
 
Problem was recently solved.
Underscores need to be removed + using a string with the send_url operation.
 
状态
不接受进一步回复。
后退
顶部 底部