MantisBT - Soldat Dedicated Server | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0000214 | Soldat Dedicated Server | Scripting Core | public | 2012-05-20 16:18 | 2015-04-15 22:28 |
| Reporter | utkesmer | ||||
| Assigned To | Shoozza | ||||
| Priority | low | Severity | tweak | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | x64 | OS | Windows | OS Version | 7 |
| Product Version | 2.7.3 | ||||
| Target Version | Fixed in Version | 2.7.4 | |||
| John | |||||
| Summary | 0000214: WriteConsole doesn't write an integer unless there is a written string near it. | ||||
| Description | I'm going to explain this very shortly. This line below, doesn't write anything to console. WriteConsole(ID, INTToSTR(D), GOLD); D is an integer and has a value of 0". GOLD is a constant and defined as "$FFD700". When I change the line as shown below, it works. WriteConsole(ID, INTToSTR(D)+'asd', GOLD); This one works but I, of course didn't want that "asd" so I tried the line below. WriteConsole(ID, INTToSTR(D)+'', GOLD); This doesn't work too. Then, I put a space there as you can see below. WriteConsole(ID, INTToSTR(D)+' ', GOLD); This works. I think it's all clear. | ||||
| Steps To Reproduce | Load the script I added here. It won't write anything. But if you do the changes I mentioned, it will. You know what to do of course, just filling the form. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://bugs.soldat.pl:443/file_download.php?file_id=332&type=bug | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2012-05-20 16:18 | utkesmer | New Issue | |||
| 2012-05-20 16:18 | utkesmer | File Added: asd.pas | |||
| 2012-05-22 16:58 | Shoozza | Status | new => confirmed | ||
| 2012-05-22 17:17 | Shoozza | Note Added: 0001504 | |||
| 2012-05-22 17:17 | Shoozza | Status | confirmed => feedback | ||
| 2012-05-22 17:31 | utkesmer | Note Added: 0001505 | |||
| 2012-05-22 17:31 | utkesmer | Status | feedback => new | ||
| 2012-05-22 17:38 | Shoozza | Note Added: 0001507 | |||
| 2012-05-22 17:38 | Shoozza | Status | new => feedback | ||
| 2012-05-22 17:46 | utkesmer | Note Added: 0001508 | |||
| 2012-05-22 17:46 | utkesmer | Status | feedback => new | ||
| 2012-05-22 18:31 | Shoozza | Priority | immediate => low | ||
| 2012-05-22 18:31 | Shoozza | Severity | major => tweak | ||
| 2012-05-22 20:59 | Shoozza | Note Added: 0001509 | |||
| 2012-05-22 20:59 | Shoozza | Status | new => resolved | ||
| 2012-05-22 20:59 | Shoozza | Fixed in Version | => 2.7.4 | ||
| 2012-05-22 20:59 | Shoozza | Resolution | open => fixed | ||
| 2012-05-22 20:59 | Shoozza | Assigned To | => Shoozza | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||